Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Viewer in it's own window

Status
Not open for further replies.

Bontebok

Programmer
Nov 18, 2002
63
US
Greetings,

I am developing an application that will have the ability to view Crystal Reports using the Report Viewer component. In the previous OCX control, you could set the design/runtime property "Destination" to crptToWindow and then make a call to the method "PrintReport" to display the report.

The current set of ActiveX components involves using the RDC to load the report, and using the ActiveX Report Viewer to view the report. This works fine, except I would like to be able to display the report viewer component in it's own window and not have it be embedded in my application. I have tried this by manually creating the object and calling the ViewReport method, but nothing is displayed on the screen.

Does anyone know how to do this?

Thanks,

Jeremy Bair
 
I'm not sure what you mean when you say you "don't want the viewer embedded in your application".

Are you using a MDI form?

I usually drop the CRViewer on "report" form and show the form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top