Ken,
I am not sure what is happening but I am still get the
#Error in the field.. Below is the SQL for the query you
might see what I have dont wrong.. I have only added the
function to the this field so far..
Thanks
Raj
SELECT masterdata.project_name, CCur(CInt(Sum
([mrc_revenue]))) AS [Current MRR], Sum([mrc_revenue]*12)
AS [Annualized MRR], Sum(masterdata.nrc_revenue) AS
[Current NRR], Sum(masterdata.nrc_revenue) AS [Annualized
NRR], Sum(masterdata.supportDI) AS [Current DI], Sum
(masterdata.supportDI) AS [Annualized DI], [current mrr]+
[current nrr]+[current di] AS [Total Current],
[annualized mrr]+[annualized nrr]+[annualized di] AS
[Total Annualized], Sum(masterdata.mrc_billing_stopped)
AS Credits, Count(masterdata.fc_handoff) AS [# of
Circuits], Sum(masterdata.fc_costsavings) AS [Total
Dollars]
FROM masterdata
WHERE (((masterdata.date_resolved) Is Not Null))
GROUP BY masterdata.project_name
HAVING (((masterdata.project_name) Not Like "Facility
Cost - Network Alarms" And (masterdata.project_name) Not
Like "Retail Dead Accounts"));
-----Original Message-----
Sorry - looks like there were too many ( characters in the expression:
CCur(CInt(Sum([FieldName])))
--
Ken Snell
<MS ACCESS MVP>
Ken,
I am having a problem with this function. When i run the
query I display #Error for the fields that has cents that
should be rounded..
Thanks
-----Original Message-----
Alternatively, you can use the CInt function:
CCur(CInt((Sum([FieldName])))
--
Ken Snell
<MS ACCESS MVP>
"Ken Snell [MVP]" <
[email protected]>
wrote in message
Use the Round function as a wrapper around the Sum
function:
Round(Sum([FieldName]), 0)
--
Ken Snell
<MS ACCESS MVP>
message
I have a query that sums dollars amounts and what i
would
like to do is have the results round to the nearest
dollars. Can someone please tell me how to do this
is a
query..
Thank you
.
.