Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data validating
Message
 
 
À
09/07/2011 07:23:25
Muthu Vel
Sty Company
Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01517800
Message ID:
01517819
Vues:
43
>I have student.dbf with fields 1.Regno (N), 2.Name(C),3. DOB(d) 4.Course(C), 5.Category(C) and I have data entry form in that I placed 1.txtregno 2.txtname 3.txtdate 4.txtcourse 5.txtcategory. Before append the record I want to validate the data.
>
>1. The regno field is numeric data type having 5 digit, by mistakenly i have typed more than 5 digit number means the message box tell "you cant enter more than 5 digit number".
>
>2. By mistakenly i have type string in the txtregno box means the message box tell "It is not numeric".
>
>how to do this?

You can use a Valid of a textbox to perform validation. RETURN 0 will keep focus on the textbox.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform