Hi
I have a cross-tab query for which I want to get COLUMN and ROW totals. Here's the code:
Is there such a function or do I have to append the results of this query to a TEMP table and create totalling queries to append those numbers as well?
Please advise before I begin to create the TEMP process...you might be able to save me some time (I hope!).
Jim DeGeorge![[wavey] [wavey] [wavey]](/data/assets/smilies/wavey.gif)
I have a cross-tab query for which I want to get COLUMN and ROW totals. Here's the code:
Code:
PARAMETERS [Forms]![frmSignOn]![ctlConversion] Text ( 255 );
TRANSFORM Count(tblGaps.[Gap#]) AS [CountOfGap#]
SELECT tblItemStatus.Item_Status AS Status
FROM (((((tblGaps LEFT JOIN tblItemStatus ON tblGaps.Gap_Status = tblItemStatus.Item_StatusID) LEFT JOIN tblCategory ON tblGaps.Category = tblCategory.CategoryID) LEFT JOIN tblPassword ON tblGaps.NFS_Owner = tblPassword.[UserID#]) LEFT JOIN tblArea ON tblGaps.[Area/Function] = tblArea.AreaID) LEFT JOIN tblFunction ON tblGaps.Function = tblFunction.FunctionID) LEFT JOIN tblContact ON (tblGaps.Conversion = tblContact.Conversion) AND (tblGaps.Conversion_Owner = tblContact.ContactID)
WHERE (((tblGaps.Conversion)=[Forms]![frmSignOn]![ctlConversion]))
GROUP BY tblItemStatus.Item_Status
PIVOT tblCategory.Category In ("Policy/Procedure","Service Challenge","Product","OSG Technology","Other Technology");
Is there such a function or do I have to append the results of this query to a TEMP table and create totalling queries to append those numbers as well?
Please advise before I begin to create the TEMP process...you might be able to save me some time (I hope!).
Jim DeGeorge
![[wavey] [wavey] [wavey]](/data/assets/smilies/wavey.gif)