I've designed a report which is working well except that it shows #Error in its group totals when there are no records to show. I've tried using IIF as follows but that hasnt had any effect...
=IIf(Sum([opqty])>0,PrsToDozPrs(Sum([OpQty])),"0"
Any tricks to avoiding this? I've thought of checking for a result before opening the report but it seems wasteful to run the query twice like this (its access 2000 with sql server)
=IIf(Sum([opqty])>0,PrsToDozPrs(Sum([OpQty])),"0"
Any tricks to avoiding this? I've thought of checking for a result before opening the report but it seems wasteful to run the query twice like this (its access 2000 with sql server)