How to program the form in other databases?
Brief description: How to program the form in other databases?
problem:
How to program the form in other databases, return it after use? I created a database, only one form, I want to add a few buttons on the form, corresponding to a Click event on each button, the action of the event is to play the corresponding Access database, and execute the MENU form in the database, close After the database is returned to the FORM with the button.
Reply:
Function Openohtermdb () Dim objapp assenuNcurrentDatabase currentproject.path & "/sample.mdb" objapp.docmd.openform "newForm" end Function
Http://access911.net webmaster collection