Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid clause
Message
From
09/09/1999 12:05:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Valid clause
Miscellaneous
Thread ID:
00262939
Message ID:
00262939
Views:
64
I have the following problem

I created a form with a text box and a command button to leave the screen.

In the valid clause of my text box, i put the following code

if empty(myfield)
messagebox("This field is mandatiory......")
return 0
else
return 1
endif

The problem is i want to quit the form when i click on my button even if myfield is empty, but in my example i can not leave the screen.

Has someone a solution

Thanks a lot
Next
Reply
Map
View

Click here to load this message in the networking platform