Click to See Complete Forum and Search --> : Trap Parameter Cancel Button


Dean_Reedy
August 27th, 2004, 12:29 PM
I have the following code:
frmCRViewer.CRViewer1.ReportSource = CRReport
frmCRViewer.CRViewer1.ViewReport
frmCRViewer.Show

When the viewreport line is ran and in the "Enter Parameter Values" form of Crystal Report, the user clicks the cancel button, is there any way to trap the cancel button click? The reason is that I do not want to show the Reportviewer if they cancelled the parameters.

thanks,


Dean