Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save Key
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00475675
Message ID:
00475997
Views:
26
>On my forms there is a save button which the user can press Alt + S to activate the save routine. When the user press the save button the record is saved after validating both on the form and in the stored procedure for the table. A blank record is then appended after the save. What is happening is that the user is pressing the key combination for too long a period so that the record is save and then a blank record appear and because they haven't fill out all the information they get a message from one of the validation routine. Is there anything I can do to correct this problem other than informing the user not to press the key combination for so long.

Try the CLEAR TYPEAHEAD command in the at the end of the code in the Click of your Save button. I say to put it at the end in case they typed a CTRL+S while VFP was executing the code in the Click method. Putting it at the end increases the chances that it will catch any extra keystrokes.
Previous
Reply
Map
View

Click here to load this message in the networking platform