I have an unbound text box on the footer of a form in which the control source has =DCount("[Supplier]","recordset"). It did not work and just produced #Error. I just want to count the distinct suppliers in the form. Can someone advise where is possible error. Thanks!