Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get back to a previous text box if error occurr
Message
From
05/01/2000 14:43:34
 
 
To
05/01/2000 14:31:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00313407
Message ID:
00313423
Views:
37
Hi Mike,

>I have a text box on a form. After the user enters data the valid checks the data. If the valid determines it has invalid data, I want the focus to go back to the field with the invalid data and not move on to the next text box.

To move the focus to an object in Valid(), return a number. Example:

RETURN 0 &&Keeps focus on current object
RETURN 1 &&Goes to next
RETURN -1 &&Goes Previous


This should help you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform