>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I'm using the gda_data_model_import_from_model () function in this way:
> the *to and *from datamodels are select results.
> I just want to append the results from the latter to the former, but
> this error happens: "No INSERT statement provided".
>
> *to and *from have the same fields, and unfortunately I cannot compute a
> single query to retrieve both at the same time. (let's say that I cannot
> have the records ordered by desc/asc, but they must follow another
> logic).
> So my question is: how can I create a datamodel and append the records
> I'd like to?
>
>
> The example in Libgda's sources: samples/TableCopy/table-copy.c,
> function copy_products_2() does exactly what you are trying to do. Maybe
> you can find where the problem is. Otherwise, I'd need a standalone
> example to work on.
>
that example is fine but I'd like to do something different: I'd like to