Passing variables from one form to another?

  • Thread starter Thread starter CD Tom
  • Start date Start date
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
 
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 _`\<,_
? (*)/&(*)
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
 
Back
Top