Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skipping the Valid - VFP5
Message
From
09/11/1998 12:53:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00155802
Message ID:
00155805
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform