Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error SQL: Queries of this type are not supporte
Message
From
09/10/2011 13:31:39
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Miscellaneous
Thread ID:
01525908
Message ID:
01525925
Views:
53
>>SELECT ciglid from mutuelle WHERE ciglid in (SELECT ciglid FROM mutuelle mut WHERE ciglid = '0000000015') INTO CURSOR temp

That will return the same as Tore's example: the rows where ciglid= '0000000015' will be returned.

I think the problem is that your inner SELECT uses the same table and field names when perhaps they should be different?
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Reply
Map
View

Click here to load this message in the networking platform