Print Search Rate
    
   09-30-2005, 6:54 PM
HOWTO: Prevent the Report From Displaying When the Parameters Dialog is Cancelled Using Script
Attachment: CancelInScript.zip
Script can be used to prevent any report from displaying in the viewer if they click Cancel on the parameter dialog window.  Use the following code:
Sub OnPromptDialogClosed(Cancelled)
    If Cancelled = True Then
        rpt.Cancel
        Exit Sub
    End If
End Sub


Applies To:
ActiveReports 2.0
GrapeCity » Knowledge Base » KnowledgeBase f... » HOWTO: Prevent the Report From Displaying When the Parameters Dialog is Cancelled Using Script
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.