Physical Database Not found

Physical Database Not found

Post by Len » Wed, 11 Jun 2003 04:04:37

Vb6 + Crystal 8.5
on the form load event I have
Screen.MousePointer = vbHourglass
    Report.Database.Tables(1).location = File

    CRViewer1.EnableExportButton = True
    CRViewer1.EnableRefreshButton = True
    CRViewer1.Zoom 100
    Report.ReportTitle = "Report for " & File

    CRViewer1.ReportSource = Report
    Screen.MousePointer = vbDefault

I thought the location property would take care of this.  Any ideas?



Physical Database Not found

Post by Scot Rose [MSF » Wed, 11 Jun 2003 04:28:52

I know absolutely nothing about Crystal Reports and it would probably be best to ask this on the Crystal Site, But from what I see in your code, are you trying to set teh Database
location? This code looks more like it is looking for a Table location within a database. Is there a DataSOurce or Database property that accepts a path and filename?

Want to know more? Check out the MSDN Library at  or the Microsoft Knowledge Base at

Scot Rose, MCSD
Microsoft Visual Basic Developer Support

This posting is provided AS IS, with no warranties, and confers no rights.


>Subject: Physical Database Not found
>Date: Mon, 9 Jun 2003 12:04:37 -0700
>Lines: 22
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

>Newsgroups: microsoft.public.vb.database.ado
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.vb.database.ado:87530
>X-Tomcat-NG: microsoft.public.vb.database.ado

>Vb6 + Crystal 8.5
>on the form load event I have
>Screen.MousePointer = vbHourglass
>    Report.Database.Tables(1).location = File

>    CRViewer1.EnableExportButton = True
>    CRViewer1.EnableRefreshButton = True
>    CRViewer1.Zoom 100
>    Report.ReportTitle = "Report for " & File

>    CRViewer1.ReportSource = Report
>    CRViewer1.ViewReport
>    Screen.MousePointer = vbDefault

>I thought the location property would take care of this.  Any ideas?



1. VB/Crystal Report error: 'Physical Database not found'

Hi all,
I have a VB 6.0 front end application that uses Crystal Report 8.5 and a
text file as my database.

I am trying to run this application on a non-developer machine (that
doesn't have MS Visual Studio, or Crystal Report).

I have setup the ODBC DSN for the text file (MS Text Driver) on the
client PC as well as used Visual Studio Installer to run my application
from the client PC.

I placed all the dependent DLL's, MSM's and OCX's on that machine, and
registered all of them.
The VB form opens up, but I get an error "PHYSICAL DATABASE NOT FOUND"
when the crystal report tries to show up.
Can someone please help, or let me know what I'm missing?

*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!

2. parameters in triggers?

3. How to copy 6.5 database to 7.0 installation not in same physical location

4. Use same Oracle Home?

5. How to find what % of physical log is full

6. Database on disk E:

7. TEMP DB's Physical File, How to remove one physical file from Primary File Group

8. SQL: is a language?

9. physical block reads vs physical reads

10. Database design - multiple physical databases

11. To add or not to add 4GB worth of physical memory

12. SQL 7 not utilising all physical RAM