Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ICASE cutting String
Message
From
13/10/2021 09:08:35
 
 
To
12/10/2021 08:43:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682487
Message ID:
01682513
Views:
44
>As Martina wrote, this is a "feature". My preferred workaround is to use Cast:
>
>
select  cast(Icase(payment='MB', 'MB', payment='CC', 'VISA', payment='PAYPAL','PAYPAL') as c(6)) as 'Payment'  into cursor Mycrs Readwrite
>
Although my "standard" way, wrapping the ICASE in some form of PadL/PadR is supported now not only in vfp, your solution is much better fit for any SQL backend. Note to self posted...
Previous
Reply
Map
View

Click here to load this message in the networking platform