Problem referencing a control on a tabbed subform

I FIXED IT...at last. I made sure I had both [Inspector] &[Postedflags] Present on the subform, replaced the 2 offending code lines with;

Me.[Inspector] = Nz(GetUserName, "")
Me.[PostedFlag] = True

And made those controls invisible on the form. Works....

A big thank you for all who persevered with me. I await the day that I can help someone rather than always being the recipient of help.
 
I FIXED IT...at last. I made sure I had both [Inspector] &[Postedflags] Present on the subform, replaced the 2 offending code lines with;

Me.[Inspector] = Nz(GetUserName, "")
Me.[PostedFlag] = True

And made those controls invisible on the form. Works....

A big thank you for all who persevered with me. I await the day that I can help someone rather than always being the recipient of help.
Hi. Congratulations! Good luck!
 
And now I am officially an idiot. The whole time I was reading that code I was seeing it as referencing field/controls on a different form (as dealt with for other OP), not the same form code was behind. Although full path referencing should have worked anyway (I just tested) it certainly isn't necessary.

Also glad you solved in spite of my crossed wires.
 
June7, don't beat yourself up. I'm stoked that I can continue. I did recreate the tabbed form which fixed the 'activex' errors that you also found. I can see the end in sight!
 

Users who are viewing this thread

Back
Top Bottom