Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't create a cursor based on cursor
Message
De
13/01/1999 14:13:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00175601
Message ID:
00175606
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform