Subject | Cannot append more than 1 record through a TIB_Grid |
---|---|
Author | Roberto Freitas |
Post date | 2005-09-26T14:09:49Z |
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?
(it would be great if I could send a very very small test program and
DB (47 KB .zip) in order to show program's structure)
Thanks,
Roberto Freitas
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?
(it would be great if I could send a very very small test program and
DB (47 KB .zip) in order to show program's structure)
Thanks,
Roberto Freitas