How do you set a tab on a subform to visible? I have it defaulted as visible = False. When I click on a list, I want it to be visible = True. This is not the whole subform, only a tab on the subform. The code I am trying to use is subformContactLog!pgUpdateContact.Visible = True. I receieve an error message with this code. "Can't find field 'pgUpdateContact' referred to in your expression." What am I doing wrong? I am using Access 2000. Any help would be greatly appreciated! Thank you!
When using a subform you usually have to set the Focus of that particular subform before you can apply any field settings. Try and set the focus of the subform and then changing your tab setting to visible = True.
I would double check all your form names to make sure they are accurate and without spaces. Same with field names. If all of that comes back true then try and make a mock form with a subform just to test. I have found that some times forms in access just screw up for no apparent reason. Creating a new one from scratch usually fixes this problem.