Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Required Fields?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017517
Message ID:
00017532
Views:
68
> What do other people use to ensure a control is not left blank once it has
> focus?
>
> Michael G. Emmons

In these Windows days I do not think it is acceptable to have the use
'traped' in a field and not let him leave it blank, even if at save time
it is required. What I do is to clone the table and use the clone's
fields as controlsources, write valid clauses that will prevent the user
to enter invalid values for a field, but always allow to leave if the
field is blank.

At save time, I check only the required field fors 'blankness', and deny
permission to save if rules are transgressed. Some of these rules I
enforce through the DBC triggers.

Voilà. You're the one who asked :).

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform