Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Reports from a Cursor
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00019473
Message ID:
00019474
Views:
33
>The online help lists the following statements for creating a report based on an SQL Select statement. However, I don't understand how MYREPORT.FRX knows to use MyCursor for the data environment. How can I create a report based on a Cursor?
>
>SELECT * ;
> FROM tastrade!customer ;
> WHERE customer.country = "Canada" ;
> GROUP BY customer.region ;
> ORDER BY customer.postal_code, customer.company_name ;
> INTO CURSOR MyCursor
>REPORT FORM MYREPORT.FRX

I never use the DE of the report. I always open my tables before calling my report. So, if you do the same, you'll be able to apply this example.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform