Click to See Complete Forum and Search --> : Crystal Reports


AStitt
October 4th, 2000, 04:45 AM
I have deployed a report generated in Crystal Reports v8. It is configured to
display as a window (preview). But, when it is requested by the user, the preview window flashes up and then disappears. The report path is set to the application path, and that is where the report resides....any suggestions?

Codejoy
October 4th, 2000, 11:45 AM
Hmmm how are you opening the report? are you using the active X view control on the VB form? I am currently using Crystal Reports 8.0 in C++ at work now and may be able to help you but i need more information.

Regards,
Shane

AStitt
October 4th, 2000, 12:21 PM
The following is the code that I have applied in VB. There is an ocx on the form called CrystalReport1.
The machine that it is deployed on is sitting on the same domain as mine...mmmm

With CrystalReport1
.Connect = "DSN=;UID=;PWD=;"
.ReportFileName = strReportPath
.WindowState = crptNormal
.Destination = crptToWindow
.WindowTitle = "BDM Inbound Summary"
.PrintReport
End With

Strat
October 5th, 2000, 04:22 PM
Try .Action = 1 instead of .PrintReport

HCims
October 6th, 2000, 09:06 AM
Normaly that happens (report flash) to me when i change the Database (any minor change causes that efect) after designing the report (i work over Access - DAO). I go to the Report Designer and do Verify Database on the Database Menu. After i do the previewing and save. If it works (preview) it has to work in the code (I use API)