By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,340 Members | 1,642 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,340 IT Pros & Developers. It's quick & easy.

Search Form not working in Navigation Form - "Object X isn't open"

P: 21
I'm a new user to access so I will try to explain this to the best of my abilities.

I created a search form for my records, 'PBTSearchF' When I open the form alone it works fine. However, I want it to be within a navigation form.
I put it in the navigation target name 'PBTSearchF' and it shows up fine. However when I go to search I get the error message; "The object 'PBTSearchF' isn't open. PBT Search Command Cancelled"
Also, the search form does work in the Main Menu if the 'PBTSearchF' is also open.

Thanks for the Help!
May 6 '15 #1
Share this Question
Share on Google+
4 Replies


Seth Schrock
Expert 2.5K+
P: 2,951
Take a look at the post in this question that was chosen as Best Answer: Navigation Control - Subforms. ZMBD does a wonderful job explaining about how Navigation controls work.
May 6 '15 #2

P: 21
That helped a bit. So do I have to go back into my code to include the [MainMenu]?
May 6 '15 #3

Seth Schrock
Expert 2.5K+
P: 2,951
Assuming that MainMenu is the name of the form that your Navigation control is on, then yes.
May 6 '15 #4

zmbd
Expert Mod 5K+
P: 5,397
James, a bit more detail would help... Please see the sticky thread on posting code... Then if you would, post the VBA that is causing you grief. :)
May 7 '15 #5

Post your reply

Sign in to post your reply or Sign up for a free account.