Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Valid check prevents form exit
I'm pretty certain that this problem must have been brought up in the past, but I will risk being annoying and ask it anyway :)
I have a form with a page frame with several tabs. Each of the tabs is a separate data entry screen. My problem is that if I want to either move between tabs, close the form, or save existing data by clicking on a "Save" button which runs a save routine, if the cursor is in a field which has a Valid method check and that check returns .F., I am unable to exit that tab until I have entered correct data. In some cases, the reason for moving to another tab is to get that data, so I end up having to exit the application entirely or in extreme cases close the application with Task Manager.
How do I bypass a Valid method when I click on a button? I hope this explanation of the problem is clear enough.
TIA
Richard Bates
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement