Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XFRX - Must I distrubute the physical report files?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01352380
Message ID:
01352714
Vues:
79
Okay, I'm not sure I'm doing this right. But here is what I did:

I created a model form, added the XFCont class to it. In the form I have a method called LoadReport which I call from the show:
local loSession, lnRetval 
loSession= xfrx("XFRX#INIT") 
lnRetVal = loSession.SetParams(,,,,,,"CNT") 
If lnRetVal = 0 
	* * we are assuming the XFCont container is * available as thisform.cntXFRX * 
	thisform.cntXFRX.reset() 
	loSession.setotherparams(thisform.cntXFRX) 
	loSession.ProcessReport("test") 
	loSession.finalize() 
ENDIF
RELEASE loSession
This loads the test report into the previewer, and all that works, but I lose control of the form. I have a quit button on the form with thisform.release in the click method. If I don't call the LoadReport, the form works as expected (but no report in the preview), but once the report is loaded, the Quit button doesn't do anything, and unexpectedly (since it was a model form), I have access to the Command window and doing a Clear All release the form.

Any hints?

Kirk
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform