>Hello Friends,
>
> I am using a grid for my data entry programs, but i am facing a big problem of how to add record into that. What could be the best method to add record?
>
> First i thought of On Key Label XXX Do AddRecord
> But i feel with this code, i might face problems while i am moving from one form to another,
>
> I then thought for Down Arrow to add record. But how to validate full record in down key pressing. How i can write the code for that?
>
> Is there any other solution for adding records in grid?
>
>Regards
>Amit
First, IMO grids are not good controls for adding/editing data, only presenting existing data to the user. Then add buttons to the form to "Add" or "Edit" the data. These buttons would display a second data entry/editing form for the user to enter/edit the data.
In your case you could still add an "Add" button ( or menu option ) to the form which would insert a record into the table and allow the user to enter the necessary data.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.