G
Guest
Hello
I have a main form with 2 subforms. On the main form is a text box. I am trying to change the text in the text box when a certain event occurs in subform1. The text in the textbox will need to be accessed from subform2. So I am trying to program a line of code where subform1 recognizes subform2, gets the text, and puts it in the text box. I have tried a variety of ways including trying to call a functoin on the main form like this from subform1:
Call Forms!MainFormName.TheFunctionName and Call Form_MainFormName.TheFunctionName and yes the function is publi
I have also tried just accessing the data from subform1 like this: Me!Subform2.Form!ControlNam
If you can help give me any ideas I would appreciate it greatly. Thank you for your time.
I have a main form with 2 subforms. On the main form is a text box. I am trying to change the text in the text box when a certain event occurs in subform1. The text in the textbox will need to be accessed from subform2. So I am trying to program a line of code where subform1 recognizes subform2, gets the text, and puts it in the text box. I have tried a variety of ways including trying to call a functoin on the main form like this from subform1:
Call Forms!MainFormName.TheFunctionName and Call Form_MainFormName.TheFunctionName and yes the function is publi
I have also tried just accessing the data from subform1 like this: Me!Subform2.Form!ControlNam
If you can help give me any ideas I would appreciate it greatly. Thank you for your time.