Passing variables from one form to another?

C

CD Tom

I'm trying to pass two variables from one form to another
and can't seem to find a way. I've tried setting the
variable as public but that only seem to work in the
current form. Any help would be appreciated.

CD Tom
 
A

Aaron

You can hide the first form,then show the second form,in the second form,you
can directly quote the variables from the first form.....
then in the second form, add below code in close events,
docmd.close acform "first form"

Aaron _~@
Yang _`\<,_
? (*)/&(*)
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
 

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