Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STR for logical field?
Message
De
30/03/2001 16:41:03
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00490356
Message ID:
00490463
Vues:
8
>>>How to put logical into text? I forgot, sorry to ask. (sample: text+STR(numeric)+STR(logical)?)
>>>
>>>Chuck
>>
>>Transform() will do it. However, unlike Bill's suggestion, this gives you the periods around the value and you may not want this.
>
>And better yet, with Bill's suggestion you can return any value for the logical you want. IE .t. = "Yes" .f. = "No" or .t. = "True" .f. = "False" etc.

Hmm, isn't there a functin called EVALUATE that will return T for .T. and F for .F. ???
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform