Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How determine entered value type
Message
De
22/06/2000 19:24:02
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00383408
Message ID:
00383522
Vues:
13
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform