PDA

Click to See Complete Forum and Search --> : DbGrid


Jul 12th, 1999, 02:41 PM
Hi,
A very silly problem:
I've an unbound DBGrid with AllowAddNew, AllowDelete and AllowUpdate all set toTrue. I want users to enter values which i woud then collect & put in respective tables of the database. But the trouble is I can enter only one row. It does not allow me to enter more than one row of values. I cannot use a bound grid becoz iam using more than two tables. I'm using VB5.0.
Can anybody help?
Thank you in advance....

DVint
Jul 13th, 1999, 08:58 AM
I had the same problem. I thought an unbound grid allowed entry of muliple rows, storing them in a memory buffer. I still am not sure if this is possible or not. Any documentation on the DBGrid seems scarce. Anyway, I just created another table, one which has no purpose but as an entry table, and bound the DBGrid to that.

------------------

Serge
Jul 13th, 1999, 09:56 PM
DBGrid is not a good choice for unbounded operation. If you're not going with bounding then you better use MSFlexGrid.

If you need an examples on how to use it, you can either email me or post a question here.

Regards,

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com




[This message has been edited by Serge (edited 07-14-1999).]