I
Intui_Sol
Please help. I have not been to get DSUM to work with the following
query:
SELECT Totals.[Sold-to], Totals.[SumOfBilling Item Net Val],
Totals.AcctRep,
(Select Count (*) from TotalsCount Where [SumofBilling Item Net Val] >
[Totals].[SumofBilling Item Net Val]+1+1 AS Ranking,
FormatPercent(([SumOfBilling Item Net Val]/(Select Sum([SumofBilling
Item Net Val]) from TotalsCount),1) AS Percentage
FROM Totals
ORDER BY Totals.[SumOfBilling Item Net Val] DESC;
Even when i take out the formatpercent function, i cannot get a
running sum/total.
query:
SELECT Totals.[Sold-to], Totals.[SumOfBilling Item Net Val],
Totals.AcctRep,
(Select Count (*) from TotalsCount Where [SumofBilling Item Net Val] >
[Totals].[SumofBilling Item Net Val]+1+1 AS Ranking,
FormatPercent(([SumOfBilling Item Net Val]/(Select Sum([SumofBilling
Item Net Val]) from TotalsCount),1) AS Percentage
FROM Totals
ORDER BY Totals.[SumOfBilling Item Net Val] DESC;
Even when i take out the formatpercent function, i cannot get a
running sum/total.