Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type function
Message
 
 
À
28/04/2004 21:55:41
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00899185
Message ID:
00899186
Vues:
13
John,

The TYPE() function evaluates it's parameter and checks the type of result. If you include TableField variable into quotes, than it returns the type of that variable, which is charactes ("Table.Field"). W/o quotes it'll return the type of expression stored in the variable.
? type(TableField)
>TableField = "Table.Field"
>?type("TableField")
>
>The type of the "TableField" may be a date, an integer or whatever but he type function will always return "C".
>
>How can I get the data type of a table field whose name is in a variable?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform