Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keep Date Field focus when future date entered
Message
From
27/09/2012 16:27:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01553718
Message ID:
01553789
Views:
48
>How do you keep a date field with the focus after you test if the date entered is in the future.
>I've used VALID and LOSTFOCUS, but have been able to keep the field from jumping to the next field.

If you're in the VALID you can RETURN 0 to stay in the control. Be careful, though, to make it conditional or you may never be able to exit!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform