reynaldio
asked on
Moving cursor to first column when adding new record in dbgrid
Hi experts,
how do i move the cursor to the first column when user are adding new row in dbgrid?
Thanks in advance
how do i move the cursor to the first column when user are adding new row in dbgrid?
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can use the OnNewRecord event of the Table/Query that is used as source for this DBGrid
or onAfterInsert
or onAfterInsert
ASKER
If i put the code in dataset "afterinsert" then i need to put that in every form and dataset components.
Is it possible to do everything in dbgrid?
Regards,
Reynaldi
Is it possible to do everything in dbgrid?
Regards,
Reynaldi
I've only checked quickly, but I don't think so.
ASKER
Thank you for your help
ASKER
Is there an event in dbgrid that will trigger if new row is added?
Regards,
Reynaldi