M
Mike Thomas
In the open event of a form I have the code:
IF somecondition = true then
cancel = true
end if
This works, the form is closed, but it generates the error:
"The OpenForm action was cancelled"
Pressing the Debug button puts me on the line which opened the form:
DoCmd.OpenForm "Order", acNormal, , , , acWindowNormal
How can I turn the error message off?
Many thanks
Mike Thomas
IF somecondition = true then
cancel = true
end if
This works, the form is closed, but it generates the error:
"The OpenForm action was cancelled"
Pressing the Debug button puts me on the line which opened the form:
DoCmd.OpenForm "Order", acNormal, , , , acWindowNormal
How can I turn the error message off?
Many thanks
Mike Thomas