Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable name Cursor
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Variable name Cursor
Divers
Thread ID:
00524217
Message ID:
00524217
Vues:
42
Hi again!

I was trying to code up a SQL Select that outputs to a Cursor whose name changes each time you use it.. (like in a report, so as to eliminate collisions when used in a group environment.)

(I'm using FPW 2.6 for this one)

How to do it? I tried....

lcCursor1 = SYS(3)

SELECT * FROM master INTO CURSOR (lcCursor1)....

or....

SELECT * FROM master INTO CURSOR &lcCursor1

and get a SYNTAX ERROR on the use or () or & on the lcCursor1 name.

Any ideas?? Thanks in advance!!

Tommy
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform