471,853 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,853 software developers and data experts.

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

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
4 1629
Seth Schrock
2,965 Expert 2GB
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
That helped a bit. So do I have to go back into my code to include the [MainMenu]?
May 6 '15 #3
Seth Schrock
2,965 Expert 2GB
Assuming that MainMenu is the name of the form that your Navigation control is on, then yes.
May 6 '15 #4
5,501 Expert Mod 4TB
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.

Similar topics

9 posts views Thread by Christopher Koh | last post: by
3 posts views Thread by scripteaze | last post: by
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.