Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql column not wide enough.
Message
From
17/11/1998 15:23:29
 
 
To
17/11/1998 15:20:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00158450
Message ID:
00158473
Views:
21
Hiya Ed ----

>>SELECT IIF(condition=.T.,PADL(ALLT(field),2),"ZZ") AS newfield.
>
>SELECT IIF(INLIST(cUserSecurityLevel,"A","B","C"),cUserSecurityLevel+SPACE(1),"ZZ")

But doesn't this assume that you know the length of the TRIMmed value of cUserSecurityLevel?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform