Navigation Form Problem on a included form

beirrac

New member
Local time
Today, 05:36
Joined
May 11, 2012
Messages
2
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.:(:(
 
your references are broke.... before would be something like:

forms!frmcontract!andSomething

after would be something like:

forms!yourNewNavForm!NavigationSubform!andSomething

just go in the macro for the buttons and change your references!~)
 
..about the parameter box then the form/report that opens has a recordsource and the criterias reference has the same problem!~)
 

Users who are viewing this thread

Back
Top Bottom