Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PDF Power to the People
Message
De
09/05/2006 14:53:09
 
 
À
09/05/2006 14:23:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01120477
Message ID:
01120493
Vues:
19
I have discovered what may be a workaround (or it may be the way I'm supposed to do it):

set the CurrentDatasession of the PDF Listener object to the datasession you want before calling the runreports method.

>Hi,
>
>I've used the code from http://msdn.microsoft.com/library/en-us/dnfoxtk05/html/ft05f1.asp?frame=true previously with only a slight problem - I had to save the datasession prior to calling the runreports method and restore it afterwards.
>
>However I am now trying to use it and am getting problems which is apparently due to the same datasession switching. In this instance the reports use the data in the calling form's datasession, but the pdflistener switches the datasession to the default datasession, hence my data can't be found.
>
>Has anyone come across this and solved it?
>
>Frank
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform