Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unsupported subselect type
Message
 
To
22/02/2008 15:41:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01295494
Message ID:
01295517
Views:
19
Bob,

Would something like this work for you? (I did not test)
select G.cStyle, G.kGarment, G.cDescrip, G.nDefPrice, ;
       cast(nvl((select "A" from LocGarment LG where LG.kGarment = G.kGarment), "X")  as C(1))  as cType;
  from Garments G
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform