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

Crystal Rep 9, VB 6.0 and Access 2000 Problem

Status
Not open for further replies.

jake007

Programmer
Jun 19, 2003
166
US
Obviously using the above.

Coded the following

Public crApp As New CRAXDRT.Application
Public crRpt As CRAXDRT.Report


Private Sub cmdPrint_Click()

Dim crTable As CRAXDRT.DatabaseTable
Set crRpt = crApp.OpenReport("c:\Willson International\Report1.rpt")
Set crTable = crRpt.Database.Tables.Item(1)
crTable.SetLogOnInfo "c:\Willson Internation\Crossdock.mdb"
CRViewer91.ReportSource = crRpt
CRViewer91.ViewReport

End Sub

When running, get the following error


Run Time Error '-2147206429 (80043ae3)'
Invalid TLV Record

Debug shows the following line having the problem:

Set crRpt = crApp.OpenReport("c:\Willson International\Report1.rpt")

Any help would be appreciated.

Jake
 
Ok, got by that one, now getting

Error 424, Object Required

On Line :

CRViewer91.ReportSource = crRpt


Thanks.

jake
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top