Results 1 to 3 of 3
  1. #1
    tbelly82@gmail.com is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    3

    VBA - 13 month rolling data with missing months

    I am using an access database to populate a Word template with chart data. I am using 13 month rolling data, however some months have no value, but i still want this to be displayed in the chart and it is not, it just skips the month any ideas how i would do this? Very new to VBA

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    I have a report table to dump my data in.
    Qry1: add all months to it NO data.
    Qry2 add my data I'm reporting on.
    Qry3 is the report qry to sum all values per month.

  3. #3
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Handle Nulls by replacing them with a value such as Zero for number types and Literal text for Text types, e.g. "No Activity"

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

Similar Threads

  1. Replies: 43
    Last Post: 08-06-2014, 08:21 PM
  2. Replies: 2
    Last Post: 04-29-2014, 03:04 AM
  3. rolling 12 month report
    By tngirl in forum Reports
    Replies: 7
    Last Post: 03-13-2014, 01:50 PM
  4. Rolling Months within a Report
    By RayMilhon in forum Reports
    Replies: 5
    Last Post: 06-14-2013, 03:28 PM
  5. Rolling 12 or 6 Month Query
    By Shakenaw in forum Access
    Replies: 2
    Last Post: 09-22-2011, 09:24 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