More or less, I have the following code:
Sub Command1_Click
CR.ReportLayout = .....
CR.Action = 1
Unload Me
End Sub
in my visual basic, whenever I run it, it has the Crystal Report preview window flash and then the program (include the preview window) terminated.
How I can display the preview window, and until the user close the preview, and then my vb unload the form(end the program)
Thanks
