Subject | About post, commit, delete |
---|---|
Author | Gediminas |
Post date | 2003-09-21T15:39:51Z |
As I understant, post is used when dataset is edited or new records
are inserted. Such code
IB_Query->Insert();
IB_Query->FieldByName( .... )->Assign( .... );
IB_Query->Post();
IB_Query->Refresh();
doesn't insert new records into table (client see newly inserted
records). I must commit in order to post new records into table?
What to do in delete case (IB_Query->Delete() )?
IBO help states, that commit closes dataset - I need to reopen then to
see changes (prepare & then open)?
are inserted. Such code
IB_Query->Insert();
IB_Query->FieldByName( .... )->Assign( .... );
IB_Query->Post();
IB_Query->Refresh();
doesn't insert new records into table (client see newly inserted
records). I must commit in order to post new records into table?
What to do in delete case (IB_Query->Delete() )?
IBO help states, that commit closes dataset - I need to reopen then to
see changes (prepare & then open)?