I have a querry to list sources and the total amount due. The Table is dispatch, the fields used are source,AmtBilled,AmtCredit,AmtPaid
SELECT DISTINCTROW Dispatch.Source,
Sum(Dispatch.AmtBilled) AS [Sum Of AmtBilled],
Sum(Dispatch.AmtCredit) AS [Sum Of AmtCredit],
Sum(Dispatch.AmtPaid) AS [Sum Of AmtPaid],
[Sum Of AmtBilled]-[Sum Of AmtCredit]-[Sum Of AmtPaid] AS TotalDue
FROM Dispatch
GROUP BY Dispatch.Source;
I tried sort asscending undet the calculated field totalDue. When I run it , Access prompts for parameter value TotalDue
Any knowledge out there to do this withour the prompt
SELECT DISTINCTROW Dispatch.Source,
Sum(Dispatch.AmtBilled) AS [Sum Of AmtBilled],
Sum(Dispatch.AmtCredit) AS [Sum Of AmtCredit],
Sum(Dispatch.AmtPaid) AS [Sum Of AmtPaid],
[Sum Of AmtBilled]-[Sum Of AmtCredit]-[Sum Of AmtPaid] AS TotalDue
FROM Dispatch
GROUP BY Dispatch.Source;
I tried sort asscending undet the calculated field totalDue. When I run it , Access prompts for parameter value TotalDue
Any knowledge out there to do this withour the prompt