A
AGOKP4
Hi,
I sit possible to make union queries from crosstab queries? I have tried a
couple of times without luck. The queries I hope to combine are listed below.
Thanks
TRANSFORM Count([Enrolled F Qry].Tenofovir) AS CountOfTenofovir
SELECT [Enrolled F Qry].[Creatinine Group], Count([Enrolled F
Qry].[Creatinine Group]) AS [CountOfCreatinine Group]
FROM [Enrolled F Qry]
GROUP BY [Enrolled F Qry].[Creatinine Group]
PIVOT [Enrolled F Qry].Tenofovir;
TRANSFORM Count([Enrolled M Qry].[Study ID]) AS [CountOfStudy ID]
SELECT [Enrolled M Qry].[Creatinine Group], Count([Enrolled M Qry].[Study
ID]) AS [Total Of Study ID]
FROM [Enrolled M Qry]
GROUP BY [Enrolled M Qry].[Creatinine Group]
PIVOT [Enrolled M Qry].Tenofovir;
TRANSFORM Count([Enrolled Qry].Race) AS CountOfRace
SELECT [Enrolled Qry].Ethnicity, Count([Enrolled Qry].Ethnicity) AS
CountOfEthnicity
FROM [Enrolled Qry]
GROUP BY [Enrolled Qry].Ethnicity
PIVOT [Enrolled Qry].Race;
I sit possible to make union queries from crosstab queries? I have tried a
couple of times without luck. The queries I hope to combine are listed below.
Thanks
TRANSFORM Count([Enrolled F Qry].Tenofovir) AS CountOfTenofovir
SELECT [Enrolled F Qry].[Creatinine Group], Count([Enrolled F
Qry].[Creatinine Group]) AS [CountOfCreatinine Group]
FROM [Enrolled F Qry]
GROUP BY [Enrolled F Qry].[Creatinine Group]
PIVOT [Enrolled F Qry].Tenofovir;
TRANSFORM Count([Enrolled M Qry].[Study ID]) AS [CountOfStudy ID]
SELECT [Enrolled M Qry].[Creatinine Group], Count([Enrolled M Qry].[Study
ID]) AS [Total Of Study ID]
FROM [Enrolled M Qry]
GROUP BY [Enrolled M Qry].[Creatinine Group]
PIVOT [Enrolled M Qry].Tenofovir;
TRANSFORM Count([Enrolled Qry].Race) AS CountOfRace
SELECT [Enrolled Qry].Ethnicity, Count([Enrolled Qry].Ethnicity) AS
CountOfEthnicity
FROM [Enrolled Qry]
GROUP BY [Enrolled Qry].Ethnicity
PIVOT [Enrolled Qry].Race;