Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I identify private datasession used by a report
Message
 
To
16/05/2001 12:50:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00507936
Message ID:
00508171
Views:
25
Keith,
Do you have a specific reason for using a private DS in the report? If not, change it back to Default DS and it will be able to see the cursor easily, as it will use the DS of the form or PRG calling the report.

HTH
Barbara

>I have a VFP report using a private datasession that I execute as follows:
>
> public oFilters
>
> oFilters=NEWOBJECT('reportsfilter','appfilters')
> oFilters.rpt_closure_key()
>
> REPORT FORM CURDIR()+'report\&gcReportName'
>
>
>.rpt_closure_key() is the method that creates the cursor used by the report
>
>
>My question is, how do I tell the report the name of the cursor to use. I can't add it as a table in the data environment. In the report datasession init I tried adding:
> set datasession to 1
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform