dbgrid - move to new record
From: Andy (Andy_at_discussions.microsoft.com)
Date: 02/23/05
- Next message: Steve Barnett: "Re: Scrolling viewport scroll bars"
- Previous message: Jeff Johnson [MVP: VB]: "Re: Scrolling viewport scroll bars"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Feb 2005 06:37:07 -0800
Hi,
I have a dbgrid on a form. My intention is to allow a user to enter
multiple records by using the dbgrid similar to a sub form in Access.
Now, I have set the dbgrid to unbound, as I want the user to enter all the
records in the grid FIRST from a blank grid, and then click a command button
on the form to enter ALL the records into the data source by using a loop.
The reason for this is so that they can edit any record in the grid before
updating the data source.
I have 2 main issues :-
1) When I tab between columns, the data in the column is highlighted first,
so in effect I have to tab twice to get to the next column.
2) Once I have entered the last piece of data in the last column, i want to
be able to "tab" to the next row, and not have to click in the first column
on the next row.
Is this possible with this kind of grid, or would i be better using a
different type of grid? If so, which would be the best one use?
Thanks In Advance
Andy
- Next message: Steve Barnett: "Re: Scrolling viewport scroll bars"
- Previous message: Jeff Johnson [MVP: VB]: "Re: Scrolling viewport scroll bars"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|