Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP SQL Limitations on subqueries
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
VFP SQL Limitations on subqueries
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01552653
Message ID:
01552653
Views:
127
VFP won't let you do this
SELECT table1.pk1,
		(select top 1 somecharfield from table2 where pk1=table1.pk1 order by pk2) as somecharfield 
	from table1
You get error message: Queries of this type are not supported


Of course I can cheat with a prequery, but what's your best work around for this VFP limitation?
Brandon Harker
Sebae Data Solutions
Next
Reply
Map
View

Click here to load this message in the networking platform