Recent

Author Topic: Lazreport streaming error in Lazarus 1.2RC2  (Read 2573 times)

snorkel

  • Hero Member
  • *****
  • Posts: 810
Lazreport streaming error in Lazarus 1.2RC2
« on: February 06, 2014, 05:33:53 pm »
This is on 32bit windows 7:

[Window Title]
Streaming error

[Content]
Unable to stream MainReportMod:TMainReportMod.
Illegal character

Path to failed Instance:
TMainReportMod.report.ReportXML

[Abort] [Retry] [Ignore]

I can't seem to find any illegal character and there is no property called reportXML

Anyone else see this issue?
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 2.06 and FPC 3.0.4
OS: Windows 10 64 bit

lazguy

  • Jr. Member
  • **
  • Posts: 78
Re: Lazreport streaming error in Lazarus 1.2RC2
« Reply #1 on: April 30, 2014, 06:48:20 pm »
I am having the same error on 64-bit Windows 7 and Lazarus 1.2.2 Stable.

When I force, the report opens empty, with only the title that is a Memo (from LazReport) with text only, without accents or Report Variables or Database Fields. All the other Memo Components (from LazReport) are removed, but the bands are still there, they are not removed.

Please, what can I do to solve this ?

The same project works Ok on Lazarus 0.9.30.2 - F.P.C. 2.4.4

lazguy

  • Jr. Member
  • **
  • Posts: 78
Re: Lazreport streaming error in Lazarus 1.2RC2
« Reply #2 on: April 30, 2014, 07:40:24 pm »
In my case this have something to do with the property StoreInForm of the TfrReport component.

What I did to correct this was:

1. On the machine with Lazarus 0.9.30.2 that was running Ok, I saved all my reports as .lrf files to a pendrive.

2. On the machine with Lazarus 1.2.2 that have the problem, I set the property StoreInForm to false on all TfrReport components.

3. I clicked twice on the first TfrReport component to open the editor.

4. In the editor I clicked File / Open and opened the corresponding .lrf file that was on the pendrive.

5. In the editor I clicked File / Exit

6. Then I set the property StoreInForm to true on this TfrReport component.

7. Repeat the steps 3 to 6 for the remaining reports.


For me.....   Problem Solved.

I hope this steps solves your problem too.

Please tell me if this solved your problem.

 

TinyPortal © 2005-2018