Hi All,
I have a customer with a few access 2010 databases which I converted a while ago from access 97.
when I noticed that there is code that's being used by more than one database, I created a common database with only modules where I placed the code that's being used by other databases and created a reference in the vba editor (tolls > references) to this common database.
I have also noticed that there are some forms that are being used by more than one database, like "Send Email" or "Help" form...
is it possible to open a form that is located in the common database as if it's being used locally as with functions "call CommonDB.SubName()"?
I tried docmd.OpenForm CommonDB.FormName or docmd.OpenForm CommonDB.Forms("FormName") but this didn't work...
thanks,
I have a customer with a few access 2010 databases which I converted a while ago from access 97.
when I noticed that there is code that's being used by more than one database, I created a common database with only modules where I placed the code that's being used by other databases and created a reference in the vba editor (tolls > references) to this common database.
I have also noticed that there are some forms that are being used by more than one database, like "Send Email" or "Help" form...
is it possible to open a form that is located in the common database as if it's being used locally as with functions "call CommonDB.SubName()"?
I tried docmd.OpenForm CommonDB.FormName or docmd.OpenForm CommonDB.Forms("FormName") but this didn't work...
thanks,