Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor as data source for report
Message
From
18/03/2016 10:50:25
 
 
To
08/03/2016 13:33:45
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01632664
Message ID:
01633357
Views:
51
>How would one go about telling the report designer that the source of the data to be used in the report is a temporary cursor from an SQL SELECT?
>

What I do is copy result cursor in deign/test environment/mode as free table on disc.
select ...  from ..into  rptcur readwrite
copy to rptcur 
***

Then ADD that temporary free table sitting now on my disc to rpt data environment so I can use it for design (drag drop fields etc)

Once report is finished you simply REMOVE free table from rpt data environment AND comment out copy to line
from the whole thing. Report will use cursor instead.
Of course report has to run in current datasession.

HTH
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform