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 22:59:55
 
 
To
05/01/2000 18:04:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00313407
Message ID:
00313721
Views:
49
Hi Mike,

>I used your return 0 in the valid of the text box, but how do I let the user get out if they want to cancel and don't want to enter data. I have a cancel button but the text box will not allow me to exit because it keeps returning the 0 to keep me there.

The code has to be conditional, example:
if lConditionPassed
	return .t. &&move on
else
	return 0  &&Can't leave, invalid data
endif
Does this make sense?
Previous
Reply
Map
View

Click here to load this message in the networking platform