scoobywilliams
IS-IT--Management
I have a curious problem where, using the DoCmd.OpenForm under a button from one form, the form I am trying to open automatically cancels itself. I have two lines of code in the form_open event, however if commented out the 'feature' still occurs. If I remove the event code altogether the problem goes away.
It's as if the cancel value is set to True immediately though there is no code inbetween the OpenForm and the new form opening. The error returned is 2051.
Any suggestions more than welcome
Chris
It's as if the cancel value is set to True immediately though there is no code inbetween the OpenForm and the new form opening. The error returned is 2051.
Any suggestions more than welcome
Chris