Terri Storer
New member
- Local time
- Today, 06:52
- Joined
- Oct 3, 2022
- Messages
- 2
I have a database linked to a Data Source (a case management system) using ODBC for the purpose of creating reports. Nothing has changed between the data source, ODBC, or MS Access.
In one of the reports, I have a footer with Text Boxes to capture a DCount based on staff lastname for the number of cases assigned to an attorney. As attorneys come and go, I add them to this list - copy the label and text box and update the Control Source: =DCount syntax to the new attorney's last name OR simply rename a label and control source of an attorney who has left.
This has worked flawlessly UNTIL this last time.
NOW, I get the correct count for the new attorney I added and all the "existing attorneys" on the list return an #Error. I made NO changes to control source for the "existing attorneys." All other text box fields in the footer with DCounts work just fine.
Thoughts?
I appreciate any guidance.
Terri Storer
Control Source: =DCount("*","qryCLOPENList"," [staff_ln] = 'Ealey' ")
Snippet of report footer.
In one of the reports, I have a footer with Text Boxes to capture a DCount based on staff lastname for the number of cases assigned to an attorney. As attorneys come and go, I add them to this list - copy the label and text box and update the Control Source: =DCount syntax to the new attorney's last name OR simply rename a label and control source of an attorney who has left.
This has worked flawlessly UNTIL this last time.
NOW, I get the correct count for the new attorney I added and all the "existing attorneys" on the list return an #Error. I made NO changes to control source for the "existing attorneys." All other text box fields in the footer with DCounts work just fine.
Thoughts?
I appreciate any guidance.
Terri Storer
Control Source: =DCount("*","qryCLOPENList"," [staff_ln] = 'Ealey' ")
Snippet of report footer.