Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validate controls or fields
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Validate controls or fields
Divers
Thread ID:
00667196
Message ID:
00667196
Vues:
52
Is there a recommended method to validating data on a form?

Assuming the control is bound to a table field...

Which is better?
if empty(table.field) then
  =messagebox('this field cannot be empty')
  return
endif
or
if empty(thisform.text1.value) then
  =messagebox('this field cannot be empty')
  return
endif
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform