Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Session
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
00979949
Message ID:
00980123
Vues:
77
You're welcome
_____________
>Thank you, Gregory - it's easy and it works.
>
>Alex
>
>>>Hallo,
>>>
>>>I have a generic method in my Application Class that handles the Settings for a current datasession (SET TALK, SET CURRENCY etc., etc) Since the Application-Object is instantiated in the default DataSession, it needs DatasessionID as parameter to make the settings in other DataSessions.
>>>
>>>It works fine with forms: I just pass the DatasessionID of the form to the method. But what can be done to a report with a private Data Session? How can I find out the DatasessionID of a report?
>>>
>>>Is it in general possible to reference the Data Environment of a report? Do we have a variable for it somewhere?
>>>
>>>Thanks
>>
>>Alex,
>>
>>this should work in the report DataEnvironment.BeforeOpenTables(), adapt with your method.
>>
>>
>>=App._DataSession.SetValues(set('DataSession'))
>>
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform