Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Required Field?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Creating a Required Field?
Miscellaneous
Thread ID:
00062767
Message ID:
00062767
Views:
78
I was thinking of the best generic way to make some fields in a table required. I'd like to check for the values in objects before the actual save takes place. What I thought I would try is to create a new logical property called "required" on all appropriate data objects (textboxes, editboxes, drop-downs, etc.). Then, in my pre-save hook I could just go through the container and make sure all objects with required=.T. are not empty.

Anyone have any ideas/comments about this approach?

Michael G. Emmons
memmons@nc.rr.com
Next
Reply
Map
View

Click here to load this message in the networking platform