I am using A2007 and A2003. I am confused on basics of how to write a module in which I would conditionally change a sub form property to Allow or Not Allow edits
On main form I have
Call LockScreenM(F_FormName) I have tried putting form name in quotes and no quotes, doesn't matter
In the module (stripped of all other non related lines)
Public Sub LockScreenM(FN)
With Screen.activeform
.FN.Form.AllowEdits = True I get an error no 2465
If I put the full name in like below, it works, but I need to be able to send several sub form names to the module depending on which main form form I am using.
.F_FormName.Form.AllowEdits = True
I tried googling, but couldn't find help, or just couldn't find right site. Any help much appreciated.