I'm having a problem adding a control to a form because I cannot seem to open it in design view. I am trying to dynamically add labels to a form that is open. What I want is to reopen the form in design view, add the label control, then open in normal view.
I have to do this without closing the form because this is happening in the 'Open' event for that form. The statement 'Docmd.OpenForm(Me.Name,acDesign)' gives me a compile error saying '=' expected. Can someone point me in the right direction for doing this? TIA.
I have to do this without closing the form because this is happening in the 'Open' event for that form. The statement 'Docmd.OpenForm(Me.Name,acDesign)' gives me a compile error saying '=' expected. Can someone point me in the right direction for doing this? TIA.