jordanking
Programmer
- Sep 8, 2005
- 351
Hello,
I have a pop up form that can be opened by a lot of other forms. I have a txt box on the pop up that is updated to the name of the form that opened the pop up. I want to assign the value of a control on the opening form to be equal the value of the same named control on the pop up form when the pop up is closed.
So, how do I dynamically reference the form name from a text box
simplified:
I have tried a lot of variations of the above.
Has anyone done this
thanks in advance
.....
I'd rather be surfing
I have a pop up form that can be opened by a lot of other forms. I have a txt box on the pop up that is updated to the name of the form that opened the pop up. I want to assign the value of a control on the opening form to be equal the value of the same named control on the pop up form when the pop up is closed.
So, how do I dynamically reference the form name from a text box
simplified:
Code:
Dim frm As Form
frm.Name = Me.chrForm ''the name of the text box holding the form name
Forms!frm!intPurchaseTransID = Me.intPurchaseTransID
I have tried a lot of variations of the above.
Has anyone done this
thanks in advance
.....
I'd rather be surfing