This should be a pretty darn easy thing to do, but I'm stumped and searches are coming up blank. How do I reference an object in my form's header/footer?
I'm simply trying to set a label caption in Form_Load(), but the object name never shows up in the autocomplete and I get compile errors when it runs. I moved the object from the header into the body of the form and the script works fine, but then aesthetics suffer.
I've tried all sorts of weird stuff, like:
Me.FormHeader.MyObjectName.Caption = ...
Me.Section(1).MyObjectName.Caption = ...
Me.Section(ac_formheader).MyObjectName.Caption = ...
etc etc ad naseum
I'm sure it's right in front of my face, but I just can't see it. :|