Results 1 to 4 of 4
  1. #1
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215

    Search Form imbedded within Navigation Form - Query Question

    Hi,



    I have a navigation form set up with 5 different tabs. One of these tabs is a Search Records page. There is a subform built into the navigation page that is my Main Search page, as should be with a Navigation Form. Within this Search Page is a Multiple Items form that is built on a query.

    SO

    Main Navigation Tab -> SearchMain -> SearchForm

    Here is a picture:
    Click image for larger version. 

Name:	MainNav.jpg 
Views:	17 
Size:	266.5 KB 
ID:	18553


    Now, if I were to input, say, Like "*" & Forms!SearchMain!IssuingAgencies & "*" within the query that the Search Form is built off of, then nothing is prompted to my screen for input. However, if I run the Main Navigation form and open up this Search Records tab, I am prompted for input.

    How do I get it so that I am not prompted for input anymore?

    Thanks,

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215
    I think my issue might have 1 more layer of complexity, since my query results are a subform of my search form. My search form is a subform of my main navigation form. As you can see, this is complex.

    Ideally, I should be able to do something like

    Forms!NavigationForm!NavigationSubForm.SearchMain! IssuingAgenciesTXT

    But, alas, it dosen't work and I am still prompted for input.

    My issue is exactly the same as the guy whose post you linked. However, it has an added layer of complexity because of the subform, built into the subform haha.

  4. #4
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215
    SOLVED

    I figured this out in 2 ways:

    1) The Multiple Items list does not refresh with the given VBA commands. You can refer to the solution of fixing this here:

    http://kbase.icbconsulting.com/vba/r...on-access-menu

    2) In order to get the parameters to stop popping up you have to specify the right control source within the criteria - that is

    [Forms]![MainNavigationForm]![NavigationSubform].[Form]![ControlSourceTXT]

    I hope this is helpful.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 12
    Last Post: 10-23-2014, 02:08 AM
  2. Navigation Menu and Search Form error
    By pbouk in forum Forms
    Replies: 5
    Last Post: 03-06-2013, 12:42 PM
  3. How to create a Search Form in a Navigation Form
    By RagonichaFulva in forum Forms
    Replies: 5
    Last Post: 08-21-2012, 01:28 AM
  4. Replies: 1
    Last Post: 02-20-2012, 10:56 PM
  5. Replies: 7
    Last Post: 11-16-2011, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums