hi there
got a simple question to ask
if i have a function in formA how do i run function in formA from FormB i have try
Forms![formA]!funvt(an)
and it didn't work so where did i go wrong
many thanks
Three things:
- Forms![formA].funvt(an) dot (.) in stead of bang (!)
- the function needs to be declared as public, not private
- formA needs to be open
You'd usually also assign it to a variable, form control...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.