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!

VB 6 : Crystal 6.x 'vs' Crystal 8.5 (Connecting to DB)

Status
Not open for further replies.

yenesi

Programmer
May 17, 2002
8
US
Can anyone give me the 'Connection' equivalent in Crystal 8.5 for the command in Crystal 6.x that is:

CrystalReport1.Connect = 'connection string'


I have a report I created in Crystal Reports 8.5 and am trying to get it 'recognized' in a VB app. I keep getting the message:

'Server has not yet been opened'

I have searched high and lo....on both this site and the Crystal Decisions site....and neither has an answer for this in all the times others have asked about this message!

My report 'DOES have a subreport' if that makes a difference. It also prompts for a date parameter (yyyymm). I am connecting to a DB2 database (ODBC connection).

I can run my report outside of the VB app....and everything is fine. Everything else within the VB app runs ok also....incidentially, it also access' information from the DB2 database.

Please help....not much hair left!

Thanks in advance!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top