Hello All,
First post.
I've got a short survey. Primary question is "Watch Report Item". It is either "Significant Case" or "Patrol Check". I've built a Word Template. I've got a table for Significant Cases and a separate table for Patrol Checks. The tables are within the SUMMARY section. How can I get the top table to just show "Significant Cases" and the bottom table to show just the "Patrol Checks"?
I've tried all of these options:
${watch_report_item | getValue:""}
${if watch_report_item | selected:"Significant_Case"} ... ${/}
${watch_report_item | checked:"Significant_Case"}
but get this error most of the time:
Error: An error occurred when checking the report template. Failed to parse ${if watch_report_item == “Significant_Case”} since field name or parameter watch_report_item cannot be found in the current parsing scope.
I've also tried this "if" statement: ${if watch_report_item == “Significant_Case”}
Here is my current set up within the table:
SIGNIFICANT CASES
${#survey|orderByFields:"case_ DESC"}${watch_report_item} | ${case_}, ${time_of_incident}, ${incident_type}, ${location_checked} ${narrative}${/} |
PATROL CHECKS
${#survey|orderByFields:"case_ DESC"}${watch_report_item} | ${case_}, ${time_of_incident}, ${location_checked}, ${narrative}${/} |
Your help would be greatly appreciated. I've tinkered around with it for hours with no luck. This final "fix" will make my report just what I need.
Thank you,
Lance in California @ Merced Police Department