Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable name Cursor
Message
De
27/06/2001 12:02:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00524217
Message ID:
00524230
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>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

A cursor name can't start with a digit. Try using sys(2015).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform