Results 1 to 4 of 4
  1. #1
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338

    Multiple filters on a continuous form

    Hello



    I have a form that show's results from a query. The user picks from a combo box and it displays those records. Now i would like to add more filters to the from. Example Account number, Last name and first name. The user would be able to pick one of these filters and it would display the records.


    Thank you

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,603
    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
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338
    June7

    I build the form . I put two unbound text box one for last name and first. In the query criteria i entered this code Like [Forms]![F_RefundRequestCancelCheckForm].[text1] & "*". When i open the form its show all of the records on it. I want the form only to show records if the user enters the patient last name or the first name. If i take of Like &"*" the form doesn't show any records unless i enter the patient name.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,603
    That will be more complicated with more code to build filter string and apply to form Filter property. Essentially, the form would have to open set with a filter that will not display any records then modify the filter with the combobox choices.
    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.

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

Similar Threads

  1. Replies: 11
    Last Post: 01-25-2013, 12:03 PM
  2. Report based on multiple filters
    By Johnny12 in forum Reports
    Replies: 1
    Last Post: 12-20-2012, 02:57 PM
  3. Replies: 6
    Last Post: 08-30-2012, 06:23 PM
  4. Replies: 3
    Last Post: 05-15-2012, 02:51 PM
  5. Apply Multiple filters
    By spitfire122 in forum Access
    Replies: 2
    Last Post: 07-01-2011, 10:02 AM

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