Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One SPT cursor to be used in another SPT
Message
From
12/07/2006 12:59:37
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 8 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01135239
Message ID:
01135769
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks for your help with this. I will try out temp tables and trouble you if I get stuck anywhere.

You can look up message #1134780 (or the whole thread) - seems to describe the same type of problem.

Also, you can have two selects in your SPT strings, you just get two result sets:
cSQL="select * from table1"+chr(13)+"select * from table2"
sqlexec(haendel, cSql, "crsTemp")
if everything goes right, you get the results of the first select in cursor crsTemp, and the second in crsTemp1.

At times I had anywhere between one and dozen of cursors pulled with a single trip to the server.

back to same old

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

Click here to load this message in the networking platform