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:
00017534
Vues:
66
>>You can also do something like, in Lostfocus:
>>
>>if empty(field)
>> =messagebox('Must input value',etc)
>> nodefault
>> object.setfocus (back to field)
>>endif
>
>Hmm...I tried this and it worked. I tried the exact same code before without the 'nodefault' and it didn't work. Well, hey, I still say there should be some sort of 'required' attribute for controls, but this seems to work so I guess this is what I'll use. Thanks Bruce, Michael, and everyone else for their assistance!
>
>By the way, aren't you people at work? What are you doing sitting in front of the computer waiting for new messages to come in? ;>
>
What, isn't this work? Well, we do take breaks occasionally :~)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform