Hi all,
I am having problems with calling an Access From's Sub or function
I want to run code that opens one of 6 forms based on a user selected varable from a list box, after the form is open i want to run a public sub in that form and pas variables.
I have tried:
strFromName is dynamically created from users selection
Forms(strFormName).MySub var1
and
currentproject.AllForms(strFormName).MySub var1
the main goal is to dynamically determin if i need ot find a record and because the opened form is opend from a few places don't want to put it in the Form_Open proc
Don't want to have to resort to checking global variables every time the forms open.
any suggestions would be great, thanks
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).