B
Bradley C. Hammerstrom
A2K,
I'm trying to have a control on another form refresh when the OK button is
clicked on a small pop-up form that the user used to edit the text in the
control on the other form. The pop-up edit form, mbxEditFN, is fired by the
double-click event of the control and I save the name of the form in the Tag
property of the mbx. I can see it in the Tag property so I that much is
working.
Now after the user edits the text and clicks OK, I want the original control
to refresh to show the edited text like this:
Dim ctlControlName As Control
Set ctlControlName = Forms.mbxEditFN.Tag
ctlControlName.Requery
the Tag is [Forms]![frmMain].[Description] and is the name of a text box
control.
I plan to use the same mbx called from a few different forms; that's why I
need the mbx to "remember" which form called it by using the Tag property.
Brad.
I'm trying to have a control on another form refresh when the OK button is
clicked on a small pop-up form that the user used to edit the text in the
control on the other form. The pop-up edit form, mbxEditFN, is fired by the
double-click event of the control and I save the name of the form in the Tag
property of the mbx. I can see it in the Tag property so I that much is
working.
Now after the user edits the text and clicks OK, I want the original control
to refresh to show the edited text like this:
Dim ctlControlName As Control
Set ctlControlName = Forms.mbxEditFN.Tag
ctlControlName.Requery
the Tag is [Forms]![frmMain].[Description] and is the name of a text box
control.
I plan to use the same mbx called from a few different forms; that's why I
need the mbx to "remember" which form called it by using the Tag property.
Brad.