Watch, Follow, &
Connect with Us
Public Report
Report From: EDN/Discussion Forums    [ Add a report in this area ]  
Report #:  132009   Status: Reported
Firebird Blob filed + Fastreport
Project:  EDN Build #:  Delphi XE
Version:    2 Submitted By:   Mário Reis
Report Type:  Basic functionality failure Date Reported:  6/13/2015 3:15:23 PM
Severity:    Serious / Highly visible problem Last Updated:
Platform:    All platforms Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
My first time here i beleave
This code works perfect:
  FrmProcDtEdt.frxReport1.LoadFromFile('C:\TRAB\FR3\frDetalheEntCxa.fr3'); //work's perfect: data matchs the query

However this other code doesn't!!!

    memStream:=TMemoryStream.Create;
    IbQryFr3.Close;        
    IbQryFr3.ParamByName('NAME').AsString:='frDetalheEntCxa.fr3';
    IbQryFr3.Open;
    // Carrega o Blob para a Stream
    (IbQryFr3.FieldByName('RELATORIOFR3') AS TBlobField).SaveToStream(memStream);
    memStream.Position:=0;
    FrmProcDtEdt.frxReport1.LoadFromStream(memStream);
    IbQryFr3.Close;

I guet allways the very same data(the data from the very first runned report).
In order to get the right data i've to leave and reenter the application again!?

It seams the report stays resident in memory!!!

Fastreport tells me:
This is expected behavior - you use fixed parameter's value: IbQryFr3.ParamByName('NAME').AsString:='frDetalheEntCxa.fr3';
And this is not their problem.
I don't understand what the ment
Please help
Best regards
Mário Reis
Steps to Reproduce:
None
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01