I am creating a query that counts records based on different criteria(Compound statements in SQL). As long as there is a record of desired type, all is well. However if there are no records that match, then query returns null.This does not help when creating other queries and reports. (I need 0). I've tried IIf(IsNull[],0,[]) and Nz with no luck. Suggestions welcomed.