Click to See Complete Forum and Search --> : datagrid:after inserting new record


maggie gallotti
July 6th, 2001, 06:41 PM
hi,
When I am finished entering data in the last column of the new row of the datagrid I can't seem to get out of it. I have hit tab,enter,arrow keys and nothing gets me out of it. I would expect that when at least when I hit the tab key, it would go to a new row, but it doesn't. Instead it skips to another field on my form. How does it work exactly? It's driving me nutty.

thanks!,
Maggie

Cakkie
July 8th, 2001, 10:10 AM
Make sure the AllowInsert and AllowUpdate properties of the grid are set to true. Also check the TabAction property, this must be set to NextField

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook

maggie gallotti
July 9th, 2001, 11:32 AM
Hi,
I checked and my datagrid allowaddnew & allowupdate values are set to TRUE.
( I don't see AllowInsert )... But, my tabaction is set to dbgridnavigation.
How do I set it to NextField ?
Maggie