If I open a report using this code it "flashes" as it opens:
DoCmd.OpenReport "NumbersByDate", acViewPreview
DoCmd.Maximize
This is probably to be expected.
If I open the same report using this code it still flashes:
DoCmd.Echo False
DoCmd.OpenReport "NumbersByDate", acViewPreview
DoCmd.Maximize
DoCmd.Echo True
Quote:
From what I've read after searching on this subject, the Echo command
should fix the flashing, but it doesn't make any difference.
|
If I open the same report using this code it opens OK and doesn't
flash:
DoCmd.Echo False
DoCmd.OpenReport "NumbersByDate", acViewPreview, , , acHidden
DoCmd.Maximize
DoCmd.Echo True
I don't understand (a) why I can still see the report when I've told it
to be hidden and (b) why telling it to be hidden stops the flashing.
Any help would be appreciated.