Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Skipping the Valid - VFP5
Message
De
09/11/1998 12:53:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00155802
Message ID:
00155805
Vues:
23
Hi Kirk ---

Yes...I posted a FAQ/KB on that issue here on the UT....essentially, you can trap the click on the Revert button with MDOWN and MCOL and MROW *before* the Valid fires....or something to that effect.

Read the FAQ :-)



>I have a form where the user enters a stock Number. In the valid clause I check to make sure that it is not a duplicate. If it is, I return .F. I used the basic form wizard to create the form. So my user is sitting in add mode, and now that they know the stock number is already on file, they want to click revert. The only way they can is to type a unique stock number and then click revert. Is there a way to avoid the valid if they click on revert or close the form?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform