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

Error -2147206429 Invalid TLV record

Status
Not open for further replies.

Yula

MIS
Sep 24, 2002
2
NL
Database for my report is Crystal_SQL_Query built on Data Source: ODBC-dBase Files. In CR it works fine, but when I try to open this report in VB6 App I get an "Error -2147206429 Invalid TLV record" on the last line in this example:

Private Appl As CRAXDRT.Application
Private Rep As CRAXDRT.Report
Set Appl = CreateObject("CrystalRuntime.Application")
Set Rep = App.OpenReport=(strReport)

Thanks for any ideas.


 
I found on the Crystal Decisions site, that:
"This issue has been entered in our Seagate Crystal Reports trackbase under track ID #21687."
 
Q. : When i am trying to execute (using CRViewer) the following code, i am getting an error message :

Error: Invalid TLV Record.

what does it mean? But when i execute the same report (john.rpt) from CrystalReport1.PrintReport, it is showing perfectly.

The Code :


Dim myApp As New CRAXDRT.Application
Dim myRpt As New CRAXDRT.Report

Private Sub Form_Load()

mpath = "c:\john.rpt"
Set myRpt = myApp.OpenReport(mpath, OpenMethod)
CRViewer1.ReportSource = myRpt
CRViewer1.ViewReport

End Sub

 
TLV=Total Length Value. I do not know much more than that. Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top