Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save Key
Message
 
 
À
14/02/2001 09:23:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00475675
Message ID:
00475697
Vues:
30
Hi!

Try 'KEYBOARD "" CLEAR' command. I guess it should clear keyboard buffer, so any extra 'Ctrl+S' haracters will be cleared aout from it. Do this just at the end of that saving code.

>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.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform