On 12 March 2010 07:45, Piotr Pokora <[email protected]> wrote:
> Hi!
>
> Is it possible to change GdaDataModel's statement type?
> I have model created by gda_connection_statement_execute_select, and
> want to set values and reuse it with update statement.

You have to set the update statement using
gda_data_select_set_modification_statement(), but maybe I understand
wrongly your needs (if that is the case, can you explain it using for
exampe pseudo code?)

Vivien

> Obviously 'No UPDATE statement provided' error is set for every set method.

Yes, by default the GdaDataSelect does not compute any modification
statement: either you provide them or use the
gda_data_select_compute*().

Vivien
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list

Reply via email to