Replace that ancient code with a modal form.
>When I use Print2PDF utility everything works fine except one case. In some cases for generating reports program waits for user input through code like
>
>DEFINE WINDOW XX ...
>ACTIVATE WINDOW XX
>@ 1,1 SAY "Some text"
>@ 1,30 GET m.SomeVariables
>READ MODAL
>
>DEACTIVATE WINDOW XX
>
>Generating preview or print reports work fine but with Print2PDF result is unexpected and wrong.
>
>Any sugestions?
--sb--