Passing value from closed form to open form

  • Thread starter gmazza via AccessMonster.com
  • Start date
G

gmazza via AccessMonster.com

Hey there,
I have a form which when the user changes a certain field, another form opens
asking for their password and another text box for the reason for the change.
If the password is correct I close this form and go back to the original form,
problem is, I need that value in the text box on the form now closed.
I have a Audit Trail table that gets Inserted into on the Before Update Event
of the first form. I need that value on the 2nd form to also go inot my Audit
Trail table under the same record as the change made to the first form from
the beginning of my post.
Hope that makes sense, thanks for the help!
 
S

Stefan Hoffmann

hi,
I have a form which when the user changes a certain field, another form opens
asking for their password and another text box for the reason for the change.
If the password is correct I close this form and go back to the original form,
problem is, I need that value in the text box on the form now closed.
Hide the form instead of closing it, then you can read the values and
close it from your other one.


mfG
--> stefan <--
 
G

gmazza via AccessMonster.com

I don't want to hide it, I need it closed for other reasons.
Any other ideas?
Thanks!
 
K

KARL DEWEY

Once you close it the data is goooonnneeee.

gmazza via AccessMonster.com said:
I don't want to hide it, I need it closed for other reasons.
Any other ideas?
Thanks!
 
K

Kiran

Assign the value of the Text to a global variable. Use the global variable
afterwards.


Kiran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top