teblack
Programmer
- Apr 30, 2004
- 45
I have a smallmoney field that sometimes contains a dollar value and sometimes does not. When the value is null I would like to replace the NULL/Blanks on a report with the value of 'N/A'. I have tried a cast and convert command but with no luck.
Code:
SELECT CASE
WHEN tbl_EPAYTerminationNotice.finalpayamt = 0 THEN null
ELSE tbl_EPAYTerminationNotice.finalpayamt
END finalpayamt
FROM tbl_EPAYTerminationNotice, tbl_EPAYEmployer
WHERE tbl_EPAYEmployer.pk_employerid = tbl_EPAYTerminationNotice.fk_employerid
[\code]
Thanks in advance for anyone help with this.....
TBlack -