Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid data on a form
Message
From
17/08/1999 23:18:46
 
 
To
17/08/1999 21:46:42
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00254777
Message ID:
00254786
Views:
21
Hi Peter,

>I want to check to make sure a field or two have at least something in them before a record is saved. I was going to use the VALID method for the field with....

Step back for a sec, you should probably do this check at the database level (assuming the fields are in a dbc table). Use the FieldValidation Rule to make sure they are not empty, or define use the FieldValidation DefaultValue to make sure something is put in the field. This way, you can have 40 forms with the same field and you won't need to cut and paste (or class) the valid method.
Previous
Reply
Map
View

Click here to load this message in the networking platform