Hi, I have simple totals query. I take my data from another query and use Sum to total it.
I need to display 0 if nothing to total.
I need to format as currency, tried to select it from property sheet does not work.
I have made it work by editing SQL:
SELECT CCur(Nz(Sum(my_query_ name.SumOf_myfieldname),0)) AS sum of _myfieldname
FROM my_query_ name_group;
I had to use CCur() and Nz(), why normal way expr1: nz([sumof_myfieldname]);0) does not work? It's shown as expression now.
I need to display 0 if nothing to total.
I need to format as currency, tried to select it from property sheet does not work.
I have made it work by editing SQL:
SELECT CCur(Nz(Sum(my_query_ name.SumOf_myfieldname),0)) AS sum of _myfieldname
FROM my_query_ name_group;
I had to use CCur() and Nz(), why normal way expr1: nz([sumof_myfieldname]);0) does not work? It's shown as expression now.