mud2
03-02-2005, 07:03 PM
I have a MainForm, FormMain, onto which I dragged and dropped two subforms. FormA and FormB. There is no table underlying the main form, and tables TableA and TableB are the basis for FormA and FormB. I also have a module...module1.
A control button on the main form calls a sub in the module. I want the module to write data to A text box in either of the rwo subforms.
This access program with All forms, tables, and module is in C:\ThreeForm
My statements in the module are:
[C:\ThreeForm]![FormA].Text1.SetFocus
[C:\ThreeForm]![FormA].Text1.Text = (Something)
I get error messages saying either that [C:\ThreeForm]![FormA] Can't be found, or that it isn't defined.
A control button on the main form calls a sub in the module. I want the module to write data to A text box in either of the rwo subforms.
This access program with All forms, tables, and module is in C:\ThreeForm
My statements in the module are:
[C:\ThreeForm]![FormA].Text1.SetFocus
[C:\ThreeForm]![FormA].Text1.Text = (Something)
I get error messages saying either that [C:\ThreeForm]![FormA] Can't be found, or that it isn't defined.