Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command to read logical data type as Character
Message
From
13/11/2006 10:37:30
 
 
To
13/11/2006 08:29:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01169130
Message ID:
01169171
Views:
8
>Is there a command to return the character equivalent of a specified logical expression? Just like the STR() command to return the character equivalent of a specified numeric expression.

IIF( YourLogicalExpr, "Y", "N")
IIF( YourLogicalExpr, "Yes", "No")
IIF( YourLogicalExpr, "Oui", "Non")
IIF( YourLogicalExpr, "Affirmative", "Negative")
IIF( YourLogicalExpr, "Aye", "Nay") etc., etc.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform