Results 1 to 2 of 2
  1. #1
    Bkper087 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    81

    Trying to get Search Bar Function to Filter Subform Query

    I have learned through trial and error that using the method I have learned to search and filter forms does not work within Navigation Forms. I have previously used a formula similar to the one below under the "On Click" command for a button that filtered a split form. The bottom half of the form would sort. In a Navigation Form it appears that the records do not show up in the bottom half of the split form. Is there an easy way to fix this or is there another way to accomplish the same task?



    [BusinessName] Like "*" & [Forms]![sublktBuisnessF]![SearchBar] & "*"

  2. #2
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,821
    Never done what you're up to, but I'll say your reference is probably not right.
    Try this syntax
    Code:
    Forms!MainFormName.SubformControlName.Form.ControlOnForm
    Note - SubformControlName is the name of the subform control, not the sub form. I'm guessing that SearchBar is a control. Sorry if I'm way off base.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 7
    Last Post: 09-27-2014, 09:11 PM
  2. Replies: 2
    Last Post: 09-24-2013, 07:54 PM
  3. Replies: 1
    Last Post: 01-30-2012, 12:12 PM
  4. Replies: 4
    Last Post: 08-05-2011, 07:27 AM
  5. Query filter search
    By mseeker22 in forum Queries
    Replies: 6
    Last Post: 06-22-2011, 03:35 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