Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Sorry about that. You should be able to open this one. If you have trouble, let me know and I will create another using Access 2003.
    Attached Files Attached Files

  2. #17
    Aloupha is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Nov 2009
    Posts
    26
    Quote Originally Posted by ItsMe View Post
    Sorry about that. You should be able to open this one. If you have trouble, let me know and I will create another using Access 2003.
    Thanks - I remote desktop into a computer with Access 2010 and checked it. I edited my previous post.

  3. #18
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    EDIT: I just tested the attached DB in XP Access 2003 and it works using the VBA in the Reports On Open event. I believe this is the best solution. Use Sub Reports and place criteria in the respective Sub Report's VBA module.


    I see....

    You are going to need more objects. It seems you will definitely need more report objects, eg subreports. For each date range, create a sub report.

    Rather than create multiple quries, like a Dynamic Parameterized Query object for each sub report. I would still use a single query object for the main report and all sub reports. If your final product will use Access2003 runtime you will need to create parameterized queries for each sub report or write VBA to interact with the sub report's RecordSource VIA QueryDefs.

    Here is an example of using the Reports On Open or On Load event to apply a filter (newer versions of Access). Split the VBA from the form between the sub reports and the form. Leave the data validation up to the form. Place the data variables in the Sub Reports On Open or On load event. Apply the variables to the Report's Filter property.
    Attached Files Attached Files

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

Similar Threads

  1. Replies: 6
    Last Post: 09-24-2013, 06:02 PM
  2. Date Range Report with Multiple Date Fields
    By StevenCV in forum Reports
    Replies: 13
    Last Post: 02-29-2012, 08:29 AM
  3. Multiple Field & date range filter
    By mrkandohi001 in forum Reports
    Replies: 6
    Last Post: 01-18-2012, 03:11 AM
  4. Query with multiple date range constraints.
    By younggunnaz69 in forum Queries
    Replies: 2
    Last Post: 12-26-2011, 10:45 AM
  5. Replies: 3
    Last Post: 09-29-2009, 07:08 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