Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Text Item Based on Number
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Select Text Item Based on Number
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01550511
Message ID:
01550511
Views:
91
What command will give me the following:

nNumber = 2
cText = command( nNumber, "One","Two",Three","Four")

cText would now equal: Two

Jim Colombo.
Next
Reply
Map
View

Click here to load this message in the networking platform