Results 1 to 6 of 6
  1. #1
    rtlight is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2010
    Posts
    3

    Moving the position of the total column in a crosstab query

    I have struggled trying to place the Total column in a crosstab query in the rightmost column of the result.

    I suspect this will have to be done in either VBA or SQL. Can someone steer me to a method or code example to accomplish this?

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    just put the total column in the rightmost in the design view.

  3. #3
    rtlight is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2010
    Posts
    3
    The design view already has the total in the rightmost column but the output places it in the leftmost column.

    The design has the following column listings:

    var1.............var2...........var3..........Tota l Of var3:var3
    group by.......group by.....count........count
    row heading..col heading..value row..heading


    The output is:

    ......................Total of var3......... var2 value 1................ var2 value2 etc
    Var1 value1
    Var1 value2
    etc

  4. #4
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    in the result sheet, drag the total column to rightmost, save the query. then that's it.

  5. #5
    rtlight is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2010
    Posts
    3

    Thanks, you just saved me several hours of manual effort.

    Thanks for the tip. Do you know why it works?

  6. #6
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Access save the design of your adjustment.

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

Similar Threads

  1. Total of column with check boxes
    By turbosdad in forum Queries
    Replies: 4
    Last Post: 08-07-2010, 07:03 AM
  2. Dynamic Column Headers but NOT CROSSTAB
    By jtkjames in forum Queries
    Replies: 1
    Last Post: 07-26-2010, 05:16 AM
  3. update querie
    By frcastro in forum Queries
    Replies: 1
    Last Post: 06-23-2010, 04:20 AM
  4. Replies: 7
    Last Post: 04-27-2010, 02:47 PM
  5. querie problem
    By TIMT in forum Queries
    Replies: 2
    Last Post: 05-31-2009, 10:12 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