Hi Forum, Access 2000
Just tidying up some issues and one is that a form control won't show data as #,##0.00 (currency) when the datasource sql uses NZ([fieldname],0)
This test sql has two fields. One uses NZ and the other doesn't. The NZ field just shows simple 2 decimal integers rather then full currency with thousand and "$" symbol where as the none NZ field does return data with "$" and thousand separator.
Tried to include Format in the sql but it throw and error
Any ideas please
Just tidying up some issues and one is that a form control won't show data as #,##0.00 (currency) when the datasource sql uses NZ([fieldname],0)
This test sql has two fields. One uses NZ and the other doesn't. The NZ field just shows simple 2 decimal integers rather then full currency with thousand and "$" symbol where as the none NZ field does return data with "$" and thousand separator.
Code:
SELECT TBLTRANS.LDPK, Sum(NZ([TRNDR],0)) AS LateFees, Sum(TBLTRANS.TRNDR) AS SumOfTRNDR
FROM TBLTRANS
GROUP BY TBLTRANS.LDPK, TBLTRANS.TRNTYP
HAVING (((TBLTRANS.TRNTYP)="late fee" Or (TBLTRANS.TRNTYP)="Legal Fees"));
Tried to include Format in the sql but it throw and error

Any ideas please
