I have a continuous form with field "Attachment" which will count all attachment relevant to the ID of the form. I was able to count the attachment with this
but at the end of the row where you will see the (New) a value of #Error in the "Attachment" column is displayed. How to remove this?
Code:
=Nz(DCount("EntryDocID","tblPoolAttachmentDetail","EntryDocID = " & [tbID].[Value]),0)