Reference a Popup field

  • Thread starter Thread starter Brian J
  • Start date Start date
B

Brian J

In my main form (frmMain) there are several text fields that utilize the
hyperlinks option. Each hyperlink brings up a different popup form which are
all copies of each other with the only difference being the content of a
label. Ideally I would like to utilize a single popup form and programically
change the label to reflect some type of phrase indicative to the text box in
frmMain. Is there a easy way to do this?
 
Brian -

I haven't used the hyperlinks, but from the form standpoint I've used this
trick. On the main form, add a textbox (hidden). Then you can put the
phrase you want on the pop-up form in that hidden textbox. You use one
pop-up form that always uses this hidden text field for the label.

You need to populate this textbox before opening the pop-up form. I don't
know if you have control within the hyperlink, but if not, you may want to
populate the textbox using the GotFocus of each of the fields with the
hyperlink.

Maybe someone else has a better way?
 
Caption - yes. I have that. What I would like to ask if for an example of
the code in the popup menu (on Open I believe) that references the text box
in frmMain. Any thoughts?
 
Back
Top