General information
Category:
Forms & Form designer
Title:
Row control in grid
I have a 2-column grid, (with a table as the record source), with the first column containing a description, and the second column contains a single digit, (valid entries are 1, 2, and 3). The first column is disabled, so when the grid has focus, column 2 is in focus.
In order to "auto-advance" to the next row, I have code in the keypress event to test for the enter key or tab key to move to the next row, and it works. In the valid event, I check for valid code, (1/2/3). If the entry is valid, I want to advance to the next row, and stay on the current if it is invalid.
The keypress event is firing before the valid event, and the row advance is not done after the valid entry is determined.
Can someone help?
Thanks,
Harry
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only