pass a value between forms

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
 
O

Ofer

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
 
Top