This may be possible via automation??? but why not just import the form you want to open into your current application and link to the tables-queries the form is bound to. then just open it. Will be no different.
One way to do it is in he first db set a reference to the 2nd db. In the 2nd db, create a public function that opens a form (see below). Then call the function from the 1st db.
In the 2nd database, create a function as mentioned in my earlier post. For example, suppose you want to open the form FormIn2ndDb which resides in the 2nd database. This function must reside in your 2nd database
Code:
Function OpenAForm(strFormName as String)
DoCmd.OpenForm strFormName
End Funcion
Call this function from within the 1st database, like this:
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.