Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare a cursor?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00308067
Message ID:
00308118
Views:
26
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform