Results 1 to 2 of 2
  1. #1
    federer8 is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2013
    Posts
    2

    Issue with searching and filtering query

    Hi guys,
    I have been stuck on this issue for quite sometime, spent 10+ hours trying to sort it out and unfortunately can't quite solve it.

    I am wanting to use multiple text boxes to filter data which is given.

    For example if I write in text box 1, "Asia", I want all the records with the word "Asia" to come up and then if I type in the text box 2, "India" I want all the records with word "India" in it.

    Unfortunately, I have a lot to learn in access, and so I am stuck.

    The problem is, I can't figure out how to filter the data, with the text box 1 being first and then text box 2 being the second one. I have tried to use:
    Code:
    (([Forms]![search]![srchtext]) Or ([Forms]![search]![srchtext] Is Null)) And (([forms]![search]![srchtext1]) Or ([forms]![search]![srchtext1] Is Null))
    But it does not work.

    Any help would be greatly appreciated,


    Thanks
    Adam.

  2. #2
    federer8 is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2013
    Posts
    2
    No worries, all good. Finally figured it out, had to create another query that was linked to the first search query. And thus, the second query refined the search even more .

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

Similar Threads

  1. Replies: 4
    Last Post: 06-29-2012, 09:05 AM
  2. Issue with filtering results on a form
    By Aaron5714 in forum Access
    Replies: 5
    Last Post: 05-31-2012, 07:03 AM
  3. Replies: 7
    Last Post: 04-03-2012, 12:29 PM
  4. searching for blank fields with a query
    By ironman in forum Queries
    Replies: 0
    Last Post: 03-04-2011, 03:48 PM
  5. Replies: 0
    Last Post: 11-10-2009, 12:06 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