Pass variable value from closing form

geralf

Registered User.
Local time
Today, 14:57
Joined
Nov 15, 2002
Messages
212
Hi,

I have an unbound form (pop-up) which I want to use as a input form for another form. The users enters data to the pop-up, and when exiting/closing the pop-up, I'd like the value from the pop-up to be available in the form the pop-up was opened from. I know I can use a public variable, but I'm curious to know if there's an other/better way to do this.

Ie. - the OpenForm of the DoCmd object has an OpenArgs to pass variables to the form to be opened.

Thanks in advance.

Gerhard
 
I typically put an invisible field on the receiving form, and push that value from the closing form to that invisible field.
 
Thanks for your reply FoFa

However, I think I'll stick with my current publick variable solution, because I've got to many controls on the form already.

Thanks for your reply thogh.
 

Users who are viewing this thread

Back
Top Bottom