G
Guest
I have inherited a report tha has custom coding in it to handle the page
numbers.
There is a bug there that when a multiple page report got print out after
preview, its page started as Page 2 and Page 3, instead of Page 1 and Page 2.
It looks fine under preview, and it also prints correctly without preview.
I am sure Access treats preview and print as two passes of rendering the
report, and my code did not reset the public counter. However, if I force it
to reset the variable, the page by groups part falls apart.
Before I go to the lenght of replacing current code with James Brooks way, I
want to know is there a way to tell that a rendering is for preview vs for
print?
Thanks!
numbers.
There is a bug there that when a multiple page report got print out after
preview, its page started as Page 2 and Page 3, instead of Page 1 and Page 2.
It looks fine under preview, and it also prints correctly without preview.
I am sure Access treats preview and print as two passes of rendering the
report, and my code did not reset the public counter. However, if I force it
to reset the variable, the page by groups part falls apart.
Before I go to the lenght of replacing current code with James Brooks way, I
want to know is there a way to tell that a rendering is for preview vs for
print?
Thanks!