Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving data from multiple tables
Message
From
20/09/2005 03:51:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Retrieving data from multiple tables
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01051149
Message ID:
01051149
Views:
48
dear Experts,

i have a sql Statement and i m trying to retrieve 'Pindes' from pin file matching with
piccodes in the current table like as follows.

Select Table1.FirstName As Fname ,Table1.SecondName As SName, (CASE WHEN Len(Table1.pinCode) > 0 THEN (Select Table2.PinDes From Table2 Where Table1.PinCode = Table2.PinCode) ELSE Table1.City END) as PinDet

But while executing it, it gives error
please anybody helpe me to correct it.
Thanks in advance

Regards
Abdulla
Next
Reply
Map
View

Click here to load this message in the networking platform