Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL query w. embedded CASE [var] when NOT working
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00835692
Message ID:
00835776
Views:
9
>SELECT IIF(UPPER(lr_accept)='F','Full    ', ;
>       IIF(UPPER(lr_accept)='P','Partial ', ;
>       IIF(UPPER(lr_accept)='R','Rejected','OTHER   '))) ;
You should pad the field with spaces, because the SELECT statement will figure the width of the column from the first record it finds.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform