SELECT tblSWLDetails.AUTHAMOUNT AS SumOfAUTHAMOUNT_TOTAL
FROM tblSWLDetails
WHERE ((tblSWLDetails.FUNCTIONAL_MANAGER)="grantja"
;
I have a table (tblSWLDetails) that pulls from a data warehouse. If there is not a functional manager with the id "grantja" in the data warehouse it does not give my table (tblSWLDetails) a row for that manager. So in my query for my subform I have the above select statement. But I want to say if there's no row for "grantja" in the tblSWLDetails fill SumOfAUTHAMOUNT_TOTAL with a "$0.00". I tried an ELSE statement but that didn't work. Does anyone know how to do this?
Nina
FROM tblSWLDetails
WHERE ((tblSWLDetails.FUNCTIONAL_MANAGER)="grantja"
I have a table (tblSWLDetails) that pulls from a data warehouse. If there is not a functional manager with the id "grantja" in the data warehouse it does not give my table (tblSWLDetails) a row for that manager. So in my query for my subform I have the above select statement. But I want to say if there's no row for "grantja" in the tblSWLDetails fill SumOfAUTHAMOUNT_TOTAL with a "$0.00". I tried an ELSE statement but that didn't work. Does anyone know how to do this?
Nina