Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How determine entered value type
Message
From
22/06/2000 19:24:02
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00383408
Message ID:
00383522
Views:
12
Nadya,

Here's one more idea: ISDIGIT(). You would need to parse the string one character at a time. Also, if you encountered a "/" or "-" you could check that the rest of the format was an appropriate date.


>Hi everyone,
>
>We have a Global Editor form, which allows to globally modify field's contents. The form itself is quite simple, it has combobox with fields and textbox to enter a value to replace with. Now, suppose I choose Numeric field and type 11 in this textbox. How can I check, that this entered value is Numeric and replace my field with this?
>Same question for date, datetime, and logical fields as well...
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform