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

Openning a Crystal Report in Design mode from code.

Status
Not open for further replies.

a2ross

Programmer
Dec 6, 2000
69
AU
I know there are Crystal reports forums but as this requires VB knowledge as well, so I've put it here as well as the there.

Can this be done and ,if so, how?

I need to degug a report that is not recieving some of the data being sent from a Data Object in a VB app. I can't do it through Crystal reports as the report won't access the data unless it is opened by the app.

Urgent, I'm running out of options.
 
I think you need to have Crystal 8.5 do to this. Version 8.5, from what I can see, has a Report Designer object which might help you.
 
I finally sorted it. If the report was originally auto created from a CrystalReports object (which this one was) there is nothting that can be done to modify the data links. (That's straight from Crystal themselves)

I ended up creating queries in the database and tying the reports to them. I then adjusted the queries at run time using querydefs.

This worked fine and is only one possible solution.

Crystal 8.5 provides the capability to create reports within the VB app and access them from there. The reports are then compiled within the app and do not need to be sent separately when distributing.

The crystal web site is not bad for further info.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top