Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data validating
Message
 
 
To
09/07/2011 07:23:25
Muthu Vel
Sty Company
India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01517800
Message ID:
01517819
Views:
42
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform