Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if char field in a table is a number
Message
De
27/06/2009 11:29:53
 
 
À
27/06/2009 05:37:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01408688
Message ID:
01408799
Vues:
72
'3.4' isn't a number?
'-3' isn't a number?


>How determine if a char field in a table contains a number ?
>
>
>IF EMPTY( CHRTRAN( MyTable.MyField, '0123456789', '' ) )
>  *** This is a number
>ENDIF
>
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform