I have a form field whose source is a query that counts the number of merchant names. If there are more than 0 records, no problem. However, if there are no records I cannot get it to default to the number 0. The form is blank. How can I get a default zero 0 in the form field if there are no records?
Setting Default value to 0 or =0 didn't work.
These IIF statements didn't work:
=IIf([qry_Test_For_Photo]![MerchantCount]="",0,[qry_Test_For_Photo]![MerchantCount])
=IIf([qry_Test_For_Photo]![MerchantCount] Is Null,0,[qry_Test_For_Photo]![MerchantCount])
thanks!