pass a value between forms

  • Thread starter Thread starter Harry
  • Start date Start date
H

Harry

I have an entry form that requires a number. OnClick the form closes and
another appears. I want to pass the required number to the second form.

Thanks
HArry
 
With the command line to open te second form you can send values using the
OpenArgs.

docmd.OpenForm "FormName",,,,,,OpenArgs

In the second form you can always refer to this number that you passing as
Me.OpenArgs
 

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

Back
Top