Hi,
This is my first post. I hope someone can help.
I have an app that uses DBGrid control (MS Data Bound Grid Control 5.0 (SP3)) with underlying data control. The problem is that the grid has AllowAddNew as false, and when the user tries to edit a row where the grid only has one row, there is no way the user can save the record. Because AllowAddNew is false and there is only one row, the up and down arrow keys naturally don't work.
The TabAction has to be 1 - Column Navigation.
It's a keyboard driven app, so the only way I can think of is maybe coding a key to do the save but that's messy and I run into trouble with the "Update without Edit" error.
Is there an easier way, or how do I code the save? Any help gratefully received.
This is my first post. I hope someone can help.
I have an app that uses DBGrid control (MS Data Bound Grid Control 5.0 (SP3)) with underlying data control. The problem is that the grid has AllowAddNew as false, and when the user tries to edit a row where the grid only has one row, there is no way the user can save the record. Because AllowAddNew is false and there is only one row, the up and down arrow keys naturally don't work.
The TabAction has to be 1 - Column Navigation.
It's a keyboard driven app, so the only way I can think of is maybe coding a key to do the save but that's messy and I run into trouble with the "Update without Edit" error.
Is there an easier way, or how do I code the save? Any help gratefully received.