>>tl;dr;
>>
>>Does this work inside REPORT FORM for SET REPORTBEHAVIOR 80 ?
>
>Normally you would gather the output of the prompt, make a temporary copy of the report in a temp folder, hack the report and store this information in Expr field of the first record and print that report (and delete the copy)
This comes fancy, if the report runs on live tables in a multiuser or otherwise parallel environment. (I have background stuff operating on Eventbindung to folders).
I would suggest to force the output into pdf (what ends up figuring out the PDF printer, the MS one is removed from my systems by default ...), get the dialouge you suggest and delete the surplus from the PDF, print the PDF. (...)
Think how to implement if you you do not have a centralized report handler. Shudder
Anyway, thanks for the code, I will look up my 90 handler if I can introduce that. I have a handler for single pages anyway, but this is by interactive marking pages in the preview.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]