Report code is running twice!

M

mscertified

My report (group header) code is running twice. Once when I generate the
report and once when I print the report.
Is there any way to tell which pass is being executed? I have code that must
run only once.

Thanks
 
M

Marshall Barton

mscertified said:
My report (group header) code is running twice. Once when I generate the
report and once when I print the report.
Is there any way to tell which pass is being executed? I have code that must
run only once.


It can be executed a lot more than two times. You need to
find another way to do whatever you thought you could use
event procedure code to accomplish.
 
Top