Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validation of numeric decimal data
Message
From
16/12/1998 15:21:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Validation of numeric decimal data
Miscellaneous
Thread ID:
00168235
Message ID:
00168235
Views:
76
Is there a standard way to validate data entry for numeric decimal data? Numbers like 5.5 or 6.25? I only need to check that it is a number.

The data is enterred in a text box with a control source value set to 0.(texbox.controlsource = mvar, mvar = 0) If I use no input mask,control jumps to the next control as soon as the decimal point is enterred. If I use an input mask of 99.99, an entry of 6.25 results in a value of 60.25. If I change the data type to string, I need a way to trap all non numeric or decimal point data.
Fruit Grower by day, VFP trainee by night
Next
Reply
Map
View

Click here to load this message in the networking platform