Using Access 2003 and want to use DCount to get a count of records in a query that is the recordsource for a subform. I am using an unbound textbox on the subform and get #Error when I use
=DCount("Trans Type","Me.RecordSource",[Void]=False And [Cleared]=False)
as the control source for my unbound control.
I looked at http://access.mvps.org/access/forms/frm0031.htm and it appears that this should work.
Thanks
Jay