Re: [gnome-db] How to use GdaDataModelQuery
- From: "Daniel Espinosa" <esodan gmail com>
- To: gnome-db-list gnome org
- Subject: Re: [gnome-db] How to use GdaDataModelQuery
- Date: Thu, 10 Jan 2008 18:39:48 -0600
Please see at bug # 508407
http://bugzilla.gnome.org/show_bug.cgi?id=508407
2008/1/9, Daniel Espinosa <esodan gmail com>:
> 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)
>
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los
cuates: LIBRE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]