The normal way to reference a form is
Forms![name of the form]!Control.value
Is there a way to use a variable for the form name?
i have a sub that is utilized by two forms and the same fields is copy to different form depending on what they select on the popup window.
Privare Sub(FormName as String)
Forms!Formname!Control.value = Forms![Bookings]!Booknr.value
..
..
end sub
anyone have the right syntax for this i know you can use Me(Variable). there should be a way to do this
Forms![name of the form]!Control.value
Is there a way to use a variable for the form name?
i have a sub that is utilized by two forms and the same fields is copy to different form depending on what they select on the popup window.
Privare Sub(FormName as String)
Forms!Formname!Control.value = Forms![Bookings]!Booknr.value
..
..
end sub
anyone have the right syntax for this i know you can use Me(Variable). there should be a way to do this