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!

Invalid TLV Record

Status
Not open for further replies.

MattRichardsUK

Technical User
Dec 11, 2000
22
GB
I have just upgraded from Crystal 8.0 to 8.5. And when I try to open some of my older reports in I get the TLV error.
The reports that I completed in V8.0 open correctly but other reports that were created in earlier versions don't open correctly.
I have about 750 Reports only 140 of them as far as i can see will actually open.

Platform: Windows 2000 Pro
Crystal Version: 8.5
 
Another undocumented feature of 8.5!

If the old reports can't jump to 8.5, but they can jump from 8 to 8.5 you might try doing this in 2 steps to see if that solves the problem. Open the old report in 8 and save it. This should convert it to V8 format. Then see if it will open in 8.5.

I can imagine this will be a pain with that many reports, but faster than re-writing them. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
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

 
Invalid TLV is supposed to mean that there is something wrong with the RPT file, but it can show up in many situations. To see ALL of the situations you can search for this error message on Crystal's web site.

Are you sure the viewer is the same version as the version of CR you used to create the rpt? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top