lcRepName = "MyReport.frx"
lcTempRepName = SYS(2023) + "\" + SYS(2015) + ".frx"
SELECT 0
USE (lcRepName)
COPY TO (lcTempRepName)
USE (lcTempRepName)
...
USE
REPORT FORM (lcTempRepName) ...
See
How To Programmatically Set the Number of Copies for a Report mskb #
251236 for sample code.
>How ? I never did such operation :(
>
>>Make a temp copy, modify it programmatically and and print report from it
>>
>>>Thanks Sergey, but what happens if I built the report inside de executable ?
>>>
>>>>See 'How to set programmatically # of copies = 2' Message #
1318303'
>>>>
>>>>>How to print more than one copy without running the report again ?
--sb--