I have the following codes:
cr.ReportFileName = G_ReportLayout
cr.DiscardSavedData = True
cr.WindowState = crptMaximized
cr.Destination = crptToWindow
cr.Action = 1
Unload Me
How can I make the preview window displayed, and wait until user close the preview before unloading the current form.
Any idea?
