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:
00980059
Vues:
71
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'))
>
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform