W
wmdmurphy
I'm using the query below to create a crosstab query, and would like to sort
the column headers by project name within a project type. Even though the
underlying query is sorted that way, the resulting transform query still is
showing the columns in straight alphabetical order by project name. Is
there a way to control the sorting?
TRANSFORM Sum(qryProjects.Allocation) AS amount
SELECT qryProjects.Title
FROM qryProjects
GROUP BY qryProjects.Title
PIVOT qryProjects.ProjectName ;
Here's the underlying query, which is named qryProjects:
SELECT tblTransform.Type, tblTransform.ProjectName, tblTransform.Title,
tblTransform.Allocation
FROM tblTransform
ORDER BY tblTransform.Type, tblTransform.ProjectName;
Any help will be appreciated.
Bill
the column headers by project name within a project type. Even though the
underlying query is sorted that way, the resulting transform query still is
showing the columns in straight alphabetical order by project name. Is
there a way to control the sorting?
TRANSFORM Sum(qryProjects.Allocation) AS amount
SELECT qryProjects.Title
FROM qryProjects
GROUP BY qryProjects.Title
PIVOT qryProjects.ProjectName ;
Here's the underlying query, which is named qryProjects:
SELECT tblTransform.Type, tblTransform.ProjectName, tblTransform.Title,
tblTransform.Allocation
FROM tblTransform
ORDER BY tblTransform.Type, tblTransform.ProjectName;
Any help will be appreciated.
Bill