Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Required Fields?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00017517
Message ID:
00017532
Vues:
72
> 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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform