what does the command NZ() do in an sql query? The reason I ask is thlbroadbent advised me to use it in a query, which was great as it worked. The problem I am having is when I access the database query from Crystal Reports it complains that it does not recognise the command NZ(), before I try to get around this I was wondering if anyone could explain what it does, thanks