Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to make such view?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00990636
Message ID:
00990694
Views:
14
This message has been marked as the solution to the initial question of the thread.
You can make separate LEFT JOINs for StatusCode and ResolutionCode into VisCodes and then use IIF(EMPTY(ResolutionCode), ...,...) in the filed list.

>
>I have a trans table which contains Status Code and Resolution Code fields. If the resolution code is not empty, I want to use it, otherwise I need to use Status Code. The code description is in another table called VisCodes. I need to join these two tables.
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform