SBendBuckeye
Programmer
Hello all,
I am opening up another access file and iterating the controls collection. I have a variable named AccessApp that I use to get a reference to a given form using DoCmd as follows:
AccessApp.DoCmd.OpenForm "MyFormName", acDesign, , , acFormEdit, acWindowNormal
I can iterate over the controls collection and various form properties using AccessApp.Forms(formName) but the RecordSource property does not return anything. Can someone show me how to get the RecordSource property for a form opened in design view using VBA?
Thanks in advance for any ideas and/or suggestions!
I am opening up another access file and iterating the controls collection. I have a variable named AccessApp that I use to get a reference to a given form using DoCmd as follows:
AccessApp.DoCmd.OpenForm "MyFormName", acDesign, , , acFormEdit, acWindowNormal
I can iterate over the controls collection and various form properties using AccessApp.Forms(formName) but the RecordSource property does not return anything. Can someone show me how to get the RecordSource property for a form opened in design view using VBA?
Thanks in advance for any ideas and/or suggestions!