Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare a cursor?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00308067
Message ID:
00308118
Vues:
27
Hi Stacy,

>You see, I'm having trouble figuring out how to reference a field in that cursor from a field in a report.

Create your cursor:

SELECT MyField FROM MyTable INTO CURSOR repcursor

Then, this will be the selected alias, so call your report:

REPORT FORM MyReport

Now, make sure your Report does NOT have a Private DS, and the DS is completely empty.

Then, to make MyField show on the report, add a field to the report, and put in the expression:

MyField

Exactly like so, with no quotes or alias. Does this clear things up?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform