Results 1 to 4 of 4
  1. #1
    ipatch is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2014
    Posts
    9

    query to return monthly total with different cut-off dates

    I have uploaded a raw dbase with Date and Total Sales. I need a monthly cut off total but not 1st-30th of every month, but every 6th to 5th of the following month. Please help thanks.
    Attached Files Attached Files

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    Click image for larger version. 

Name:	frmReports.png 
Views:	10 
Size:	14.0 KB 
ID:	16634
    Make a form that can be set to standard Calendar, or Fiscal Calendar.
    (see calendar combo box on image)
    All reports used with reference the dates in the text boxes on the form

    The FORM is used to set the dates.
    The user can set the Fiscal dates or regular date ranges, simply by clicking the month, etc.
    The form calculates everything.

  3. #3
    hapm is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    197
    You could simply substract 4 days (cutoff day - 1) from the date column to be able to use Month() as the cutoff again. The nice thing here is, that you can simply set any number of the month as cutoff if you make it a form field as described by ranman256, but you don't need to do a between query and can even group on the resulting field.

  4. #4
    ipatch is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2014
    Posts
    9
    Can't I do it in a query instead? coz I have more fields other than the totat sales and date of sales. I just deleted it on the attachment to save mb. thanks

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

Similar Threads

  1. monthly table with serveral dates count
    By daasha in forum Access
    Replies: 3
    Last Post: 05-01-2014, 08:06 AM
  2. Total Weeks and Concatenate Period Dates
    By mabuhay87 in forum Queries
    Replies: 4
    Last Post: 02-09-2014, 07:29 PM
  3. Using dsum to return a cumulative total
    By tomnsd in forum Queries
    Replies: 7
    Last Post: 04-01-2013, 01:16 PM
  4. Replies: 6
    Last Post: 11-10-2012, 09:49 PM
  5. Query + monthly report
    By tareksul in forum Reports
    Replies: 3
    Last Post: 12-19-2010, 01:09 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