Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid check prevents form exit
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Valid check prevents form exit
Divers
Thread ID:
00613711
Message ID:
00613711
Vues:
39
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
Fil
Voir

Click here to load this message in the networking platform