Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel Operation from a required field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00008117
Message ID:
00008193
Vues:
36
>>Has anyone come up with a good method that will
>>allow a user to cancel an operation while they are
>>on a field that requires entry.
>>
>>They have requested to add a new record.
>>The user is then presented to a screen with X number
>>of fields, some of which are required and in their
>>VALID code states IF EMPTY(fieldname) THEN 'Field must
>>be filled' ENDIF
>>
>>but what if the user presses the CANCEL button, how do I
>>know that they have touched the CANCEL button so
>>as to let them out of the required field and let the CANCEL
>>valid be fired off.
>>
>>Any suggestion please.
>>
>>Bret
>
>we place the test for leaving a required field in the save button. it's a bit too detailed for here (checking all objects to see if they require an entry, warning if left empty and returning to first object failing), but if you want more, let me know.
>
>if you leave the test in the field's valid, you can't leave until something valid is entered...

this (with some changes) will also work for 2.6 -- the idea will be the same.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform