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!

"Unable to open database" error

Status
Not open for further replies.

icthus

Programmer
Jan 4, 2001
8
PT
hi!

i'm trying to print a few reports, created with crystal reports designer, using crystal reports activex control.

when i print the report i always get the error "Unable to open database". I have already passed the database paths to datafiles() with the correct order. I think the problem is related with subreports, because i printed a report that as no subreports and it works fine.

How can I know wich databases are used in subreports?
 
Open the report in design mode and double click on the subreport object to open the design tab of the subreport.

While on the subreports design tab, use the menu options:

Database - Set Location

And it will give you the database information for that report. Ken Hamady
Crystal Reports Training and a
Quick Reference Guide to VB/Crystal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top