Skip to Content
0
Former Member
Dec 18, 2006 at 09:38 AM

problem updating data source with userTable object

26 Views

Hi all

i'm updating a data base user table with the userTable object. the table is binded to a matrix using dbDataSource.

after i add a new record to the data base using the usertable object.

I refresh the matrix with the newly added record by peforming:

obdDataSource.query() and matrix.LoadFromDataSource.

than when i update the newly added row. and perfom the update by calling first.

odbDataSource.FlushToDataSouce.

I can't peform the update because than the column field "Code" does not contain the vaule which was added to the newly created record

question is how can i keep the "Code" value after its been saved to the data base?