>Dear all,
>
>I am writing a project in which a grid used to enter voucher details.
>
>I ask how to program such that when I move the cursor to the next blank Grid line, the table automatically add one new record.
>
>Thank you for your kind attention
>
>With regard,
>
>Ransome
I don't allow editing in a grid. If the user double-clicks, they edit the record. To add a new record, they click an Add button. In either case, a modal child window is diplayed with textboxes, etc.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer