Results 1 to 6 of 6
  1. #1
    abakhaus is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    9

    Filter as you type text box on Split form

    I have a Split Form with a text box on the Form Header to filter a Query database in the Form Footer.

    My Text box name is Catalogdescriptiontxt(Filter). The column in the query I am trying to filter is CatalogDescription along with the other columns that are in the same row in the database as the CatalogDescription.

    I would like the Catalogdescriptiontxt box to filter the query in the Form footer as you type. But I am having all sorts of issues figuring this out.



    Please Help!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    youd be doing many filters (1 per character)
    instead of 1 single filter.

    this takes up resources. Can the user not wait until the typing is finished?

  3. #3
    abakhaus is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    9
    I have been doing alot of research on this online and it looks like it shouldn't be to hard I just can't get it to work correctly.

  4. #4
    abakhaus is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    9
    The reason I cant wait until they finish typing is because the people that are using this are selecting components in our catalog. They need to see a list of parts that they can choose from not just one.

  5. #5
    abakhaus is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2016
    Posts
    9
    Can someone please help!

  6. #6
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    ...filter the query in the Form footer...
    I'm going to assume you mean the bottom of the split form.

    I don't use split forms, so I'm not sure of the syntax, but basically you are going to reset the filter for the bottom of the split form as you go.

    You would put some code in the On Change event procedure of the Catalogdescriptiontxt(Filter) textbox. The code would run after every character you type in the textbox, and would reset the Filter property of the bottom part and then requery the bottom part.


    The syntax of the filter would depend on how you wanted to do the filtering but if for example you wanted to filter using "starts with" you might have something like this:

    (bottompart).filter = "CatalogDescription like '" & Catalogdescriptiontxt(Filter) & "*'"
    (bottompart).requery

    As I said, I am not familiar with split forms, so I don't know the exact syntax..
    Last edited by John_G; 12-20-2016 at 01:05 PM. Reason: Rewrite comment after reading the first post properly!

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

Similar Threads

  1. Filter Button on Split Form
    By data808 in forum Access
    Replies: 4
    Last Post: 02-14-2015, 12:35 AM
  2. Filter Split Form using listboxes
    By Delta729 in forum Access
    Replies: 2
    Last Post: 01-06-2015, 10:59 PM
  3. Replies: 3
    Last Post: 05-02-2013, 01:59 PM
  4. Filter Split Form using ListBox and .ME
    By clchris_80 in forum Access
    Replies: 3
    Last Post: 01-17-2013, 07:30 PM
  5. multiiple filter on a split form
    By webisti in forum Forms
    Replies: 1
    Last Post: 04-06-2012, 12:36 PM

Tags for this Thread

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