Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I identify private datasession used by a report
Message
 
À
16/05/2001 12:50:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00507936
Message ID:
00508171
Vues:
23
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform