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
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