G
Gary
I have the SQL used for the RowSource of a Graph object in Access. It is
currently sorting by personnel (ascending order).
I would like to sort it in descending frequency order of personnel. Can
someone please help.
Here is the SQL statement:
TRANSFORM Sum([O_Rept#111_RP by Personnel].NoPers) AS SumOfNoPers
SELECT [O_Rept#111_RP by Personnel].Personnel
FROM [O_Rept#111_RP by Personnel]
GROUP BY [O_Rept#111_RP by Personnel].Personnel
ORDER BY [O_Rept#111_RP by Personnel].RnPa DESC
PIVOT [O_Rept#111_RP by Personnel].RnPa;
Thank You
Gary
currently sorting by personnel (ascending order).
I would like to sort it in descending frequency order of personnel. Can
someone please help.
Here is the SQL statement:
TRANSFORM Sum([O_Rept#111_RP by Personnel].NoPers) AS SumOfNoPers
SELECT [O_Rept#111_RP by Personnel].Personnel
FROM [O_Rept#111_RP by Personnel]
GROUP BY [O_Rept#111_RP by Personnel].Personnel
ORDER BY [O_Rept#111_RP by Personnel].RnPa DESC
PIVOT [O_Rept#111_RP by Personnel].RnPa;
Thank You
Gary