Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complicated select via VfpOleDb
Message
From
14/04/2010 19:05:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01460193
Message ID:
01460215
Views:
41
>>>My point is that the whole select can be done as few derived tables, e.g.
>>>
>>>select ... from myothertable join (select ...from table1 join table2 on ... join (select something from table3 where ...) alias3 group by... etc.etc... ) X on ...
>>
>>That's what I tried first... "missing clause". It seems the OleDb is missing a few bits in the parser.
>
>Are you sure you wrote it correctly? What error are you getting?

Fields collection doesn't work by names, only by index (!). EOF is .f., recordcount is -1 (!). Other than that, I actually got a recordset.

I don't know what I fixed and how, but it seems to work now, save for these few quirks. I can live with that, I spent enough time on this.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform