Detecting AutoSearch in Template
                    We have a ppViewer on a form which allows users to review reports without 
opening the ReportDesigner. On the toolbar, we have an "AutoSearch" button
which displayes the AutoSearch dialog window.
Is there a way to detect if a Template contains auto search rules so that we
can enable / disable the toolbar button accordingly?
Thanks, Patrick
                
                            opening the ReportDesigner. On the toolbar, we have an "AutoSearch" button
which displayes the AutoSearch dialog window.
Is there a way to detect if a Template contains auto search rules so that we
can enable / disable the toolbar button accordingly?
Thanks, Patrick
This discussion has been closed.
            
Comments
Once you load the template, you can check the Report.AutoSearchFieldCount
property to determine how many autosearch fields are present.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com