469,156 Members | 2,270 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,156 developers. It's quick & easy.

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 1492
Seth Schrock
2,957 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,957 Expert 2GB
Assuming that MainMenu is the name of the form that your Navigation control is on, then yes.
May 6 '15 #4
zmbd
5,400 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
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.