I am trying to use either cancel = true or docmd.cancelevent to stop the printing of a report when there is no data
however, it comes up with the error:
2501 The OpenReport action was canceled.
Is there anyway around this inane error?
i tried docmd.setwarnings = false but it still came up
however, it comes up with the error:
2501 The OpenReport action was canceled.
Is there anyway around this inane error?
i tried docmd.setwarnings = false but it still came up