Hello,
I tried from the Format and Print event, and from both, I can modify a control before it shows (render)! I taught that it needed to be done from the Format event. In fact, using the Print event, which is called only before rendering the page, resolves another issue I had, that my procedure was called too often.
Now, let's say I'm viewing to the screen the report, browsing through the pages, then printing the report. Let's say also that the Print event is trapped on a sub-report appearing only on page 6.
When previewing that page, the Print event is called, only once, even if I look at another page, then return to page 6.
I then print the report, the Print event is called again for that page.
It's perfect for my routine, but I would like my routine to know for which it is executing!
My routine renders the first page of a PDF on the Access report, in an image field. If it is viewed on the screen, the render is only at 72dpi, which is fine for the screen, and fast. If it prints, I want it to render to what the printer is capable, but it is much slower!