Hi
How would you refer to a report as open or closed
I want to set an if statement i.e If report.[DailyD] is open then
runmacro "dailyTotal"
Else
docmd.close
ENd IF
But I do not know the correct syntex for If report.[DailyD] is open
I know is open is not correct.
Thanks
Liz
How would you refer to a report as open or closed
I want to set an if statement i.e If report.[DailyD] is open then
runmacro "dailyTotal"
Else
docmd.close
ENd IF
But I do not know the correct syntex for If report.[DailyD] is open
I know is open is not correct.
Thanks
Liz