Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with report form to file command
Message
From
03/06/2008 04:25:30
 
 
To
03/06/2008 04:20:08
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01320238
Message ID:
01321228
Views:
9
Aha! You have used the wrong syntax, I don't know if that will cause this behavior.
lcPrinter=getprinter()
Set printer to name (lcPrinter)
However, in this case I think you must move these lines
report form Myreport to file TxtFileName nodialog
lnPageno=_pageno
lcPrinter=getprinter()
Set printer to name (lcPrinter)
report form Myreport to printer noconsole
>Yes I have a set printer to name getprinter() before i launch that line !!!
>
>>Do you have any SET PRINTER command?
>>
>>>:) Tore I say no ...and it is NO :)
>>>no printer environment set in the report
>>>
>>>>Although you say no, I am 99.999% sure that you have the printer specified in the printer environment of the report. USE the report and check the expr field in the first record.
>>>>
>>>>>the command in question is :
>>>>>
>>>>>report form Myreport to file TxtFileName nodialog
>>>>>
>>>>>when it runs it print the report to the printer :(
>>>>>i had to delete this command, but it was run just to know the _pageno variable
>>>>>
>>>>>>Can you post the REPORT FORM command in question?
>>>>>>
>>>>>>>I know that , but i develop in vfp9 and compile the application in vfp7 :)
>>>>>>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform