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

dbf files logon fails

Status
Not open for further replies.

Schimsky

Programmer
Oct 4, 2003
23
0
0
US
Hi, I have a crystal 9 vb6 application... the crystal report runs against old dbase III files. When I use this code to start the report in my vb6 program...

Dim Application As New CRAXDRT.Application
Dim Report As CRAXDRT.Report

Set Report = Application.OpenReport("j:\scoring\nic95\dev\SchoolReport.rpt")

Report.Database.Tables(1).Location = "j:\scoring\nic95\xx"
Report.Database.Tables(2).Location = "j:\scoring\nic95\nv1"
Report.Database.Tables(3).Location = "j:\scoring\nic95\nv1"

CRViewer91.ReportSource = Report
CRViewer91.DisplayGroupTree = False
CRViewer91.ViewReport
CRViewer91.Zoom (75)

I get the error:"Logon Failed"

These are dbase files! There is no logon or password!

Does anyone know how I specify this in code?

Thanks

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top