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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 Report Preview/Print

Status
Not open for further replies.

BlindPete

Programmer
Jul 5, 2000
711
US
Hello,

I apologize for the likely obvious answer to this question but after a day of sturggling with it, I have no other ideas.

VB6, CR10, and ODBC Data

I can not use the designer to embed the reports in the application because the reports will change and be added to over time. We dont want to recompile each time a new report is available.

The reports are built referencing an ODBC database and do not save the data with the report becauase the data is dynamic.

What I have is a preview form with the CrystalActiveXReportViewer. What I want to do is programatically set the RPT file. (The RPT file is selected in another form from a list and passed to the Preview form)

I'm at a total loss on how do this. All the examples I have found involove using the designer which is not an option.

Can anyone point me in the correct direction?

-Pete
 
hmm its CR9 but presumable the solution is very similar. Thanks for the nudge.

-Pete
 
When I ran the CR 10 evaluation copy, I don't remember there being any glaring differences in the CRAXDRT object model between versions 9 and 10.

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top