Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative of Valid Event
Message
 
 
To
21/06/2008 20:59:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01325978
Message ID:
01325982
Views:
19
Why not? Just return 0 to suppress VFP standard message.
You can also use LostFocus and set NODEFAULT in achieve the same.

>These codes are on text1.valid event
>
>IF m.getvalue=0
>MESSAGEBOX('Rate Not Found'+CHR(13)+'Please check rate','Accounting System')
>return.f.
>endif
>
>For some reasons I do not want to use above codes on Valid event,
>How to use some other event, if m.getvalue=0 then control must reamains in text1.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform