Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Freddie81 is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2018
    Posts
    149
    Quote Originally Posted by pbaldy View Post
    You can use a single combo with "All" as an option:

    http://www.theaccessweb.com/forms/frm0043.htm



    and this to use the null value of "All" to return all:



    http://www.theaccessweb.com/queries/qry0001.htm

    I am using a single combo box with "All" as the first option........just dont know what to use in vbs condition to rn the report

  2. #17
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    If the bound value is null, as suggested by the first link, you don't need any code, just the criteria shown in the second link. This is just one of many ways to do this. I'd probably go with a VBA solution, but that's because I'm comfortable coding it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Did you try query syntax suggested in post 6?

    Otherwise, for VBA code to construct filter criteria, review http://allenbrowne.com/ser-62.html
    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.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. report mutiple fields from one table
    By Marc76 in forum Reports
    Replies: 1
    Last Post: 10-13-2014, 03:38 PM
  2. Replies: 1
    Last Post: 09-09-2014, 11:29 PM
  3. Replies: 7
    Last Post: 06-04-2013, 11:14 AM
  4. Count unique customers in report header
    By hithere in forum Reports
    Replies: 7
    Last Post: 02-08-2013, 12:47 AM
  5. VB Script - Split Report PDF into mutiple files
    By rmikulas in forum Programming
    Replies: 2
    Last Post: 08-07-2012, 09:50 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