Results 1 to 3 of 3
  1. #1
    DoleseII is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    2

    Unhappy Column Updating

    All, I spent a good bit of time developing some cross tab queries in MS Access (they are quite simple.) 1 set of row Headings, 1 column heading, and 1 set of data.



    The column heading is the last 14 weeks. and the data is just a percentage of X of each week.

    Every week the 14 weeks change of course. For example column titles -
    column 1 = 7/24/17
    column 2 = 7/31/17
    etc.

    Next week Column 1 will equal 7/31/17.

    The query works fine, however I did a MS Query, to bring that Access query into excel. Excel will not update currently because it is looking for the same column titles as last week..... I'd like it just display what is in the Access query...... I'm literally just using excel for the reporting aspect.

    thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    that is the problem with crosstabs, they keep changing, so difficult to report.
    you could make a 'report' table. It has 14 weeks as:
    name, col1, col2, col3...etc..col14, StartDate

    append the data to the tRptTbl.
    the report on this table could use vb to alter the report labels using the StartDate column, then add 1 date until all 13 labels are changed to the new daterange.

  3. #3
    DoleseII is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    2
    Thanks, that's what I was afraid of. Now, I have some rework to do. (10) hrs into the project lol)

    I appreciate the feedback.

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

Similar Threads

  1. Replies: 22
    Last Post: 04-29-2015, 12:33 PM
  2. Updating a column with the value of another Column
    By guillermoftw in forum Access
    Replies: 5
    Last Post: 01-14-2015, 03:50 PM
  3. Replies: 3
    Last Post: 08-08-2011, 11:02 AM
  4. Replies: 7
    Last Post: 06-10-2011, 05:40 AM
  5. Updating table's column via VBA
    By Amerigo in forum Programming
    Replies: 10
    Last Post: 03-24-2011, 10:07 AM

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