I want to add a new row using a GdaDataModelQuery, but it sends
"invalid parameter '+0'" error, but whay if the GDA object sets all
parameters before ejecute the query
model = gda_data_model_query_new (query);
gda_data_model_query_compute_modification_queries
(GDA_DATA_MODEL_QUERY
(model),NULL,GDA_DATA_MODEL_QUERY_OPTION_USE_ALL_FIELDS_IF_NO_PK,NULL);
row = gda_data_model_append_row (model, &error);
if (row < 0)
g_printf ("ERROR APPENDING: %s\n", error->message);
Even if I use a GdaDataProxy, append the row and then apply all
changes, the program sends the same message.
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los
cuates: LIBRE)
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list