Print Search Rate
    
   06-28-2006, 2:58 AM
How can I disable the script code during preview?

In the End User Designer control, you may want to disable script code during preview, but ActiveReports does not have built-in functionality that allows you to do so.

A workaround is the use of a temporary instance of the Report component, as shown in the following sample code:

Dim temp_report As New ActiveReport
temp_report = ARDesigner.Report
temp_report.Script = “”
temp_report.Run
ARViewer21.ReportSource = temp_report


Applies To:
ActiveReports 2.0
GrapeCity » Knowledge Base » KnowledgeBase f... » How can I disable the script code during preview?
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.