Well.. I'm stumped.
I have a main form 'frm_MAIN' which calls a subform 'frm_STATS' from a Navigation Control on the main form.
Within the 'frm_STATS' I have a text box where I'm trying to report the number of records from table 'tbl_JOBS' based on a date range (two text boxes with date picker) on the same form 'frm_STATS'.
Date From textbox = 'mndate'
Date To textbox = 'mxdate'
Here is my control source dcount:
=DCount("*","tbl_JOBS","[CreationDate] between DateValue('" & [Forms]![frm_MAIN].[NavigationSubform].[Form].[mndate] & "') AND DateValue('" & [Forms]![frm_MAIN].[NavigationSubform].[mxdate] & "')")
I'm getting a #Name? error in the text box where the Dcount exists above.
Any ideas?