Re: VFP9 and printing; what distributables do I need

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



kcs wrote:
On May 16, 11:49 am, "Dan Freeman" <s...@xxxxxxxxxxxxx> wrote:
In this case, even if you distribute the files your code won't work.
<g>

You need to populate _reportoutput at runtime.

Dan



kcsemail2...@xxxxxxxxx wrote:
I have a vfp9 program that is installed on a client's non dev
machine; After installing it I added code to export report to an
html file through...

loListener = .NULL.
do (_reportoutput) with 5, loListener
loListener.TargetFileName =
ALLTRIM(ordersummary.ordernum)+'.html' loListener.QuietMode = .T.
report form "\reports\ordersummary3" object loListener

...but will not run on the customer's machine. What runtime files
do I need to allow this to run on the customer's machine?

Thanks in advance.- Hide quoted text -

- Show quoted text -

...what am I missing??? What is done to populate reportoutput?

The same thing you do to populate any other variable:

STORE <value> to _ReportOutput

or

_ReportOutput = <value>

It's a system variable, and some of them are not set at runtime.

Dan


.



Relevant Pages