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 http://msdn.microsoft.com or the Microsoft Knowledge Base at http://support.microsoft.com
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
>NNTP-Posting-Host: adsl-209-78-193-168.dsl.lsan03.pacbell.net 209.78.193.168
>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?
>*************************************
>Len