>Thanks for all comments.
>
>This one just work fine for my application
>
>_PCOPIES = m.nCopies && my application variable
>PRINTJOB
> REPORT FORM &MyReport TO PRINTER NOCONSOLE
>ENDPRINTJOB
I believe you can change &MyReport to (MyReport)
When possible, this is usually the recommended approach, since with macro substitution, the entire line that contains the "&" has to be generated, compiled, so to speak, at runtime.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)