 | | From: | Tom Waggoner | | Subject: | Crystal Reports.rpts won't print with V 2.5 | | Date: | Tue, 30 Nov 2004 14:34:06 -0600 |
|
|
 | Tom Waggoner
Loaded the new version dBase 2.5 yesterday. Trying out some of my programs to see how they behave. Tried to print a report which is set up with CR V 9.0 using RDC.
I get the error "OLE Dispatch Exception: Invalid TLV record". Anyone know what the TLV record is?
The error points to these lines of my code for which I used the CRVIEWER.wfm.
RDC = new OleAutoClient("CrystalRuntime.Application") Report1 = RDC.OpenReport("K:\AMS\Crystal Reports\ViewConfirm.rpt") Report1.RecordSelectionFormula = "{ord.ordno}="+Wkt
Anyone know of any thing which changed?
Disappointed.
|
|
 | | From: | Jun S. Pomer | | Subject: | Re: Crystal Reports.rpts won't print with V 2.5 | | Date: | Wed, 1 Dec 2004 14:29:11 +0800 |
|
|
 | Tom,
Please try this.
RDC = new oleAutoClient("CrystalRuntime.Application.9")
Maybe your client have 2 versions installed. (Ver. 8 and 9)
Jun
"Tom Waggoner" wrote in message news:LUVUbsx1EHA.1504@news-server... > Tom Waggoner > > Loaded the new version dBase 2.5 yesterday. Trying out some of my programs > to see how they behave. Tried to print a report which is set up with CR V > 9.0 using RDC. > > I get the error "OLE Dispatch Exception: Invalid TLV record". Anyone know > what the TLV record is? > > The error points to these lines of my code for which I used the > CRVIEWER.wfm. > > RDC = new OleAutoClient("CrystalRuntime.Application") > Report1 = RDC.OpenReport("K:\AMS\Crystal Reports\ViewConfirm.rpt") > Report1.RecordSelectionFormula = "{ord.ordno}="+Wkt > > Anyone know of any thing which changed? > > Disappointed. > > > >
|
|
 | | From: | *Lysander* | | Subject: | Re: Crystal Reports.rpts won't print with V 2.5 | | Date: | Wed, 01 Dec 2004 08:26:00 +0100 |
|
|
 | Jun S. Pomer schrieb:
> RDC = new oleAutoClient("CrystalRuntime.Application.9") > Maybe your client have 2 versions installed. (Ver. 8 and 9)
CR has now a quite good versioning. The actual version is stored in reg-keys like "CurrentVersion". So, there COULD be problems with Reports in 8.5 format. If the client has CR 10 then there also is no problem, because CR10 can use the same program code for calling reports like CR 9 does.
ciao, André
|
|
 | | From: | Tom Waggoner | | Subject: | Re: Crystal Reports.rpts won't print with V 2.5 | | Date: | Wed, 1 Dec 2004 08:48:15 -0600 |
|
|
 | I do have 2 versions of CR loaded. V 8.5 and V 9.0. Another MRP software we use needs the V 8.5 to edit its reports.
I will try the recommeded fix.
Thanks Tom Waggoner
"*Lysander*" wrote in message news:Pd%23mOf31EHA.2372@news-server... Jun S. Pomer schrieb:
> RDC = new oleAutoClient("CrystalRuntime.Application.9") > Maybe your client have 2 versions installed. (Ver. 8 and 9)
CR has now a quite good versioning. The actual version is stored in reg-keys like "CurrentVersion". So, there COULD be problems with Reports in 8.5 format. If the client has CR 10 then there also is no problem, because CR10 can use the same program code for calling reports like CR 9 does.
ciao, André
|
|
 | | From: | Bruce W. Mercer | | Subject: | Re: Crystal Reports.rpts won't print with V 2.5 | | Date: | Tue, 30 Nov 2004 18:54:10 -0800 |
|
|
 | Tom,
What's the chance,? I just had that happen on a client's PC office today on a XP pro (Don't know what SP), But it's is CRW v 9.2 with PLUS 2.01. So I don't think it has anything to do with PLUS 2.5. I was just going to do a google search on this after browsing the ngs.
HTH -- Bruce W. Mercer What would you like your computer to do? Mercer Enterprises Custom Software, Reporting, and Network admin.
"Tom Waggoner" wrote in message news:LUVUbsx1EHA.1504@news-server... > Tom Waggoner > > Loaded the new version dBase 2.5 yesterday. Trying out some of my programs > to see how they behave. Tried to print a report which is set up with CR V > 9.0 using RDC. > > I get the error "OLE Dispatch Exception: Invalid TLV record". Anyone know > what the TLV record is? > > The error points to these lines of my code for which I used the > CRVIEWER.wfm. > > RDC = new OleAutoClient("CrystalRuntime.Application") > Report1 = RDC.OpenReport("K:\AMS\Crystal Reports\ViewConfirm.rpt") > Report1.RecordSelectionFormula = "{ord.ordno}="+Wkt > > Anyone know of any thing which changed? > > Disappointed. > > > >
|
|
 | | From: | *Lysander* | | Subject: | Re: Crystal Reports.rpts won't print with V 2.5 | | Date: | Wed, 01 Dec 2004 08:28:00 +0100 |
|
|
 | Tom Waggoner schrieb:
> Anyone know of any thing which changed?
Check please, if together with 2.5 also a "new" BDE was installed, or if it was installed in another directory than before. If so, CR cannot find the information on how to interpret your datasources anymore.
This happened to me a few times, and since then, I always make an install of CR AFTER I installed/changed BDE.
ciao, André
|
|
 | | From: | Tom Waggoner | | Subject: | Re: Crystal Reports.rpts won't print with V 2.5 | | Date: | Wed, 1 Dec 2004 09:01:23 -0600 |
|
|
 | Just tried adding the ".9" to the RDC definition as recommended. IT WORKS. Thanks to everyone for your help.
Tom Waggoner
"Tom Waggoner" wrote in message news:LUVUbsx1EHA.1504@news-server... Tom Waggoner
Loaded the new version dBase 2.5 yesterday. Trying out some of my programs to see how they behave. Tried to print a report which is set up with CR V 9.0 using RDC.
I get the error "OLE Dispatch Exception: Invalid TLV record". Anyone know what the TLV record is?
The error points to these lines of my code for which I used the CRVIEWER.wfm.
RDC = new OleAutoClient("CrystalRuntime.Application") Report1 = RDC.OpenReport("K:\AMS\Crystal Reports\ViewConfirm.rpt") Report1.RecordSelectionFormula = "{ord.ordno}="+Wkt
Anyone know of any thing which changed?
Disappointed.
|
|