I have no idea what I'm doing wrong. I'm fairly new to Access and am trying to add a form to a Navigation form. The form is frmContract and has 2 command buttons, one to display the customer information and the other is to display a print preview. The frmContract works great when I use these command buttons directly on the frmContract.
However, when I moved the frmContract to the Navigation form created by selecting "Create", "Navigation", "Horizontal Tabs, 2 layers"...it no longer works??? I'm just dragging it over to the "Add New" on the second level after naming the tab "Forms".
When I select the PrintPreview Command, I get an error "the objectname argument for the gotorecord select object method names an object that is closed access". The object frmContract isn't open.
When I select the Display Customer button, I get the enter parameter dialog box. I don't understand why the form works fine as a standalone but isn't working when I drag it to the navigation form. Any help is appreciated.

However, when I moved the frmContract to the Navigation form created by selecting "Create", "Navigation", "Horizontal Tabs, 2 layers"...it no longer works??? I'm just dragging it over to the "Add New" on the second level after naming the tab "Forms".
When I select the PrintPreview Command, I get an error "the objectname argument for the gotorecord select object method names an object that is closed access". The object frmContract isn't open.
When I select the Display Customer button, I get the enter parameter dialog box. I don't understand why the form works fine as a standalone but isn't working when I drag it to the navigation form. Any help is appreciated.