Subject | Cannot insert more than 1 record using TIBGrid |
---|---|
Author | Roberto Freitas |
Post date | 2005-10-03T15:16:58Z |
I have a TIB_Grid linked to a TIB_DataSource (DataSet is a TIB_Query).
I can append a record through the grid, but if I try to append a second
one it's not possible because aparently grid's cells changes to
ReadOnly ant it's not possible to enter anything.
TIB_Query has 2 fields, only one is assigned by the user on the Grid,
value of the other one is assigned internally by code. InsertSQL clause
is assigned in TIB_Query's event BeforePost.
What's wrong?
Thanks,
Roberto Freitas
P.S.: I sent a small test program and DB to file's area, folder Demo
Apps, Teste.zip. It must be unziped in a folder C:\Teste
I can append a record through the grid, but if I try to append a second
one it's not possible because aparently grid's cells changes to
ReadOnly ant it's not possible to enter anything.
TIB_Query has 2 fields, only one is assigned by the user on the Grid,
value of the other one is assigned internally by code. InsertSQL clause
is assigned in TIB_Query's event BeforePost.
What's wrong?
Thanks,
Roberto Freitas
P.S.: I sent a small test program and DB to file's area, folder Demo
Apps, Teste.zip. It must be unziped in a folder C:\Teste