Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you embed CASE expression in SELECT statement?
Message
From
07/12/1999 11:27:05
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00299791
Message ID:
00299798
Views:
15
Doug,

>Is there a way to embed a CASE expression in a SELECT statement in VFP? I can >do it in SQL passthru using SQL Server 7, but can't get it to work in VFP and >can't find any documentation that it is even allowed?

Case is not valid in VFP. Use IIF() and in() and inlist() instead to achieve desired results.

Cheers
Steve Lea
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform