daneb
May 24th, 2001, 08:10 PM
Hi.
I have a DBGrid populated with an Access 97 table data through a Data Control. The displayed data sometimes takes up to a hundreds or even thousand of records. The requirement is to be able to add new records, so I changed the AllowAddNew property to True. If I want to add a new record, I have to scroll down below. The problem is, it takes a while to reach the last record in the grid. Sometimes, the grid is not even scrolled since the record pointer remains in its position.
What I'm thinking of is to put a command button and when I press this button, the grid will automatically scroll down and put the cursor in the first cell of the new row. This will definitely save user's time. Is this possible? Thanks for the info!
I have a DBGrid populated with an Access 97 table data through a Data Control. The displayed data sometimes takes up to a hundreds or even thousand of records. The requirement is to be able to add new records, so I changed the AllowAddNew property to True. If I want to add a new record, I have to scroll down below. The problem is, it takes a while to reach the last record in the grid. Sometimes, the grid is not even scrolled since the record pointer remains in its position.
What I'm thinking of is to put a command button and when I press this button, the grid will automatically scroll down and put the cursor in the first cell of the new row. This will definitely save user's time. Is this possible? Thanks for the info!