I have a totals query, "qrsChildren" in which I have only three fields:
1-Lastname (is set to count, and returns the correct totals titled: countofLasName...this field is set to show)
2-facility# (in criteria; forms![frmFosterFamily]![facility#]...this field is not set to show)
3-current (is set to "yes"...this field is not set to show)
When run, the query works fine and shows me a total count of lastname. I want that number to show on a form. I have used the dlookup function in a non-bound control field as follows but it does not work:
dlookup("[lastname]","qrsChildren")
I have tried dsum("[lastname]","qrsChildren") also...nothing works
Any help will be very much appreciated...Thank you!
1-Lastname (is set to count, and returns the correct totals titled: countofLasName...this field is set to show)
2-facility# (in criteria; forms![frmFosterFamily]![facility#]...this field is not set to show)
3-current (is set to "yes"...this field is not set to show)
When run, the query works fine and shows me a total count of lastname. I want that number to show on a form. I have used the dlookup function in a non-bound control field as follows but it does not work:
dlookup("[lastname]","qrsChildren")
I have tried dsum("[lastname]","qrsChildren") also...nothing works
Any help will be very much appreciated...Thank you!