General information
Category:
Forms & Form designer
Title:
Challenges Using Grids
Hello All
I hope that someone out there can help me with this one. I am using an interactive grid in an application that seems ideal for grid use. The grid consists of 5 columns, 3 of which are enabled while the other 2 are updated based on validation and entry. All of the methods and the validation of the input are working correctly. The user must use the INS key to add a new record to the table and this approach seems to work fine using the the Keypress Event. The only problem I am having is with the use of the cursor keys. When the arrow keys are used for navigation, the DOWN arrow key causes a problem. When the user cursors down through the grid to the bottom of the grid and then presses the DOWN arrow key again, a blank record is added. I have tried to intercept the keystrokes at the Control level in the grid ( textbox using Keypress ), using the Grid events ( BeforeRowColumnChange ), and at the form level (Keypress Event ). A further point, the grid is displaying data from a table which has been filtered. I also tried filtering the records, putting them in a new table and using that for the grid ( somteimes filtered data displays are not clean. ) ,this did not work either. The confusing part is that in a stand alone BROWSE, the DOWN arrow stops at the end of the table where it should. I apologize for the length of this message, but I want to give as much info. as possible. I would love to keep using the grid control, but I unless I can contol the navigation keys, I will have to come up with another solution. As always, I appreciate all suggestions. Thanks.
Regards,
Carmen
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