Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPORTBEHAVIOR 90 = Nothing prints at runtime
Message
De
01/05/2007 13:48:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01221570
Message ID:
01221595
Vues:
9
Thank's Sergey, I did and it helped.

>Check http://www.berezniker.com/display/VFP/VFP+9.0+Report+Features+in+Runtime
>
>>With the help of you good people I managed to get my report to print from the Develop directory.
>>
>>So I copied the exe to the production dir and nothing prints.
>>
>>
>>cCommand = [Report Form ] + Thisform.cReportToPrint
>>
>>Do Case
>>	Case 'TO PRINTER' $ Upper(Thisform.cPrintTo)
>>		Set REPORTBEHAVIOR 90
>>		ox = CREATEOBJECT('ReportListener')
>>		ox.AllowModalMessages	= .T.
>>		ox.DynamicLineHeight	= .T.
>>		ox.ListenerType		= 0
>>		ox.PrintJobName		= 'VfpFleetJob'
>>		ox.QuietMode		= .T.
>>		cCommand = cCommand + [ OBJECT ox]
>>
>>		&cCommand
>>
>>		ox = Null
>>		Release ox
>>
>>
>>It does work in the debugger though.
>>
>>What's needed for this stuff to work outside the development environment?
>>
>>TIA
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform