B
benb
I want to change some properties of a form before using OpenForm to open it.
When using the code Forms![frm_Entry].DataEntry = True, I get an error
message saying that Access can't find the form frm_Entry referred to in the
Visual Basic code. I know the form is there and I know it is spelled
correctly, so I can only conclude that the macro can't "see" the form,
something like public and private variables. I put the code in a subroutine
(the code is part of a click event), but that doesn't seem to solve it. How
can I make Access "see" the form so that I can amend it's properties in the
VB code? THANKS!
When using the code Forms![frm_Entry].DataEntry = True, I get an error
message saying that Access can't find the form frm_Entry referred to in the
Visual Basic code. I know the form is there and I know it is spelled
correctly, so I can only conclude that the macro can't "see" the form,
something like public and private variables. I put the code in a subroutine
(the code is part of a click event), but that doesn't seem to solve it. How
can I make Access "see" the form so that I can amend it's properties in the
VB code? THANKS!