I get this error when referring to the property of a control on a subform. I am using the OnCurrent event with the expression
Me!subfrmControlName.Form.[ControlOnSubformName].Enabled = False
I have also tried ...
Forms!FormName!subfrmControlName.Form.[ControlOnsubfrmName].Enabled = False
Also...
Forms!FormName!subfrmControlName!ControlOnSubfrmName.Enabled = False
Nothing seems to work. The first used to work. I changed some things (not the names of anything) and then it no longer worked. Has anyone run into this problem before? Is it a bug? I also wrote a previous subject "Invalid Reference Nightmare" earlier this morning. I wonder if they are related.
StephenS
Me!subfrmControlName.Form.[ControlOnSubformName].Enabled = False
I have also tried ...
Forms!FormName!subfrmControlName.Form.[ControlOnsubfrmName].Enabled = False
Also...
Forms!FormName!subfrmControlName!ControlOnSubfrmName.Enabled = False
Nothing seems to work. The first used to work. I changed some things (not the names of anything) and then it no longer worked. Has anyone run into this problem before? Is it a bug? I also wrote a previous subject "Invalid Reference Nightmare" earlier this morning. I wonder if they are related.
StephenS