I found a post with the same error here.
I'm getting the same error. This code is run in a button click event:
At the "With" statement I get the error. Weird thing is this code had been working fine a long time. I've been searching the net and haven't been able to find the solution yet. Does anyone know a solution?
Only possibility I found out (from the above linked post) is that maybe it has to do with timing. I can imagine that the form is not completely ready when the "with" statement executes. Is there any way to tell access to wait until the form is completely loaded before executing the "with" statement?
I'm getting the same error. This code is run in a button click event:
Code:
........... DoCmd.OpenForm CurTabViewName, acNormal With Forms(CurTabViewName) ...........
Only possibility I found out (from the above linked post) is that maybe it has to do with timing. I can imagine that the form is not completely ready when the "with" statement executes. Is there any way to tell access to wait until the form is completely loaded before executing the "with" statement?
Comment