Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2021
    Posts
    2

    (NEWBIE) Double filter in a button

    Click image for larger version. 

Name:	1.PNG 
Views:	22 
Size:	47.8 KB 
ID:	45925Click image for larger version. 

Name:	2.PNG 
Views:	22 
Size:	8.5 KB 
ID:	45926Click image for larger version. 

Name:	3.PNG 
Views:	22 
Size:	13.3 KB 
ID:	45927
    Like u can see on photos i'm trying to make a filter about the 2 boxes, but with the code that i use in others filters i can't built this new button that use 2 filters in same time can someone help with this.


    Sorry if im not the best explaining problems.

    Thank for all the support that u can give.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,566
    Use strFiltro = strfiltro1 & " and " & strfiltro2
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    You might investigate this Search Form article by Allen Browne about filtering. The actual VBA code is here.

  4. #4
    Join Date
    Aug 2021
    Posts
    2
    Thanks a lot for help.

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

Similar Threads

  1. Double click event to filter a subform
    By Rzgar in forum Forms
    Replies: 3
    Last Post: 08-31-2019, 08:16 AM
  2. Replies: 1
    Last Post: 07-14-2015, 05:59 AM
  3. Replies: 3
    Last Post: 08-15-2013, 07:50 AM
  4. Creating a filter using double precision numbers
    By memberFDIC in forum Queries
    Replies: 2
    Last Post: 12-20-2011, 04:25 PM
  5. button for double field
    By swrta in forum Access
    Replies: 5
    Last Post: 11-17-2011, 01:21 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