If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Use crosstab column heading in a calculation
Is it possible to use the column name, which is a pivot of the first column
in the underlying table, in a calculation? Essentially, I want to create a matrix, based on the values in the first field of a recordset. There are 145 records in the rs, values 0-144 in the first field, "SpotMonth". I want to create a matrix of 145 columns and 145 rows. For argument's sake, let's say I want to display the product of the 1st field and each of the column headers: Column: 0 1 2 3 4 etc... SpotMonth: 0 0 0 0 0 0 1 0 1 2 3 4 2 0 2 4 6 8 3 0 3 6 9 12 4 0 4 8 12 16 Any suggestions? I've managed to create a crosstab query that pivots the values in the "SpotMonth" field and uses them as column headers, but I don't know how or if I can reference that column name value in a calculation. Thanks, Bill -- Bill Reed "If you can't laugh at yoursel, laugh at somebody else" Message posted via http://www.accessmonster.com |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to Improve Code Copying/Pasting Between Workbooks | David | General Discussion | 1 | January 6th, 2006 03:56 AM |
creating a bar graph | Johnfli | General Discussion | 0 | October 26th, 2005 08:16 PM |
Crosstab Column Heading Sort | MJatAflac | Running & Setting Up Queries | 3 | June 29th, 2005 01:54 AM |
How do I set up a report using dates as my report header? | Robin | Setting Up & Running Reports | 16 | November 13th, 2004 01:00 PM |
Using Validation to force entry into cells? | Mark | General Discussion | 16 | October 27th, 2004 09:23 PM |