I am using following code to get report, Report is opening in new window,
so my question is
is it possible to use escape key to close Report.
if yes than how to do it.
and if no than any alternate option to do this.
CrystalReport1.ReportFileName = App.Path & "\Stock_Summary.rpt"
CrystalReport1.Connect = con
CrystalReport1.DiscardSavedData = True
CrystalReport1.Password = Chr(10) & "xxxxxxxx"
CrystalReport1.WindowState = crptMaximized
CrystalReport1.Destination = crptToWindow
CrystalReport1.Action = 1