Click to See Complete Forum and Search --> : Data Grid


Andrew_Fryer
September 4th, 2001, 03:21 PM
Hello everyone, I hope someone can help me with this niggling problem.

I have connected to an Access database which has several pre-defined records which have been created earlier in the program. Each of these records has a field which has been filled and another which the user is required to fill. I want to display these two columns in the data-grid, the first column should be locked and the second should be unlocked.

The problem that is occurring is that when I am using the tab key I cannot go beyond the current record. I have to physically use the mouse to select the next one.

Does anyone have any idea why this is happening?

Thanks in advance

Andrew

michi
September 4th, 2001, 04:38 PM
Maybe we have to use the Up and Down keys to navigate between records.

Regards,

Michi

cmulheron
April 21st, 2003, 11:36 AM
I had the same problem, but you can fix it by changing 2 properties on your data grid. First one is the "Tabaction" property, set this to 2-DbgGridNavigation. Second, you will need to set the "WrapCellPointer" property to True. This will let you go from one row to the next by tabbing.

Now you get to the problem I have. I am doing the same thing as you. I have 2 fields that are locked and the 3rd field is the one they should edit. I can tab, but the tab stops on the 2 fields that are locked, but you can't really see that the cursor is on these fields. I am trying to figure out how to get it to tab just on the editable fields.

I'll let you know if I figure it out. Please send me an email if you figure it out also(cmulheron@dentalassociates.com). Thanks Chad