>Some of my users get silly errors like 'variable docket_id not found' or other variables not found when printing reports. If they preview the report, then print, things seem ok, although it comes up occasionally where when scanning through the pages in the preview. I know there is nothing wrong with the report but it thinks there is. Any ideas?
There are so many places to bury things in reports, it's not funny. And there's no good way to search for these references with the native tools either. You could be referencing docket_id in a part of a PRINT WHEN condition that's rarely evaluated, or in a report variable.
One tool that's really good at finding this kind of stuff is PJXSearch from Steve Dingle. It's a free utility that you can download from his site at
www.stevedingle.com.