[gnome-db] gda_data_model_remove_row
- From: Peggy Koch <peggy koch sourcepark de>
- To: gnome-db-list gnome org
- Subject: [gnome-db] gda_data_model_remove_row
- Date: 01 Oct 2003 10:19:24 +0200
Hallo,
I have a problem by using gda_data_model_remove_row. I get a datamodel
from my database and I want delete a row in this datamodel. If I use
gda_data_model_remove_row, it doesnt work.
Here is my code:
GdaDataModel *Datenmodell=daten->execute_command(conn, sqlSelect);
GdaRow* GdaReihe;
GdaReihe=gda_row_new(Datenmodell,2);
for (row_id = 0; row_id <
gda_data_model_get_n_rows(Datenmodell);row_id++)
{
GdaReihe= (GdaRow *)gda_data_model_get_row (Datenmodell, row_id);
okay = gda_data_model_remove_row(Datenmodell,GdaReihe);
gda_data_model_freeze (Datenmodell);
}
Can anybody help me? Whats my problem? I get for okay everytime as
return 0. It dont execute gda_data_model_get_row.
Thanx, nice greetings, Peggy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]