Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't create a cursor based on cursor
Message
From
13/01/1999 14:13:17
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00175601
Message ID:
00175606
Views:
29
John ---

What are your two SELECT statements? I just tried the following with no problem:
SELECT * FROM mytable INTO CURSOR xxx        && Base table to cursor
USE IN mytable                               && Closes base table
SELECT * FROM xxx INTO CURSOR yyy            && Cursor to cursor
>I always though I was able to create a SQL cursor (read-only) based on previously created SQL cursor (read-only) but I guess not. I get an error something like "Must SELECT...INTO TABLE" on the second attempt. Thus, I have to do USE DBF("cursor") AGAIN... before the second SQL-SELECT statement. Any reason why?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform