Problems with kbmmemtable and Fastreport
we have setting a kbmmemtable, we can list all the records and see the
correct contents. When we setting this portion of code for show to video the
report this is ever empty, without error. The report have the correct
reference to the memory table and to their fields.
Anyone have an idea of solution.
thank regards
antonio.
Example:
......................
var Report:TfrReport;
NomeReport:String;
begin
NomeReport := PathReport+'\'+'RptStat01.frf';
Report := frReport1;
if fileExists(NomeReport) then
begin
Report.LoadFromFile(NomeReport);
Report.OnObjectClick := nil;
Report.OnMouseOverObject := nil;
Report.Preview := nil; // preview standard
if Report.PrepareReport then
begin
Report.ModalPreview := true;
Report.ShowPreparedReport;
end;
correct contents. When we setting this portion of code for show to video the
report this is ever empty, without error. The report have the correct
reference to the memory table and to their fields.
Anyone have an idea of solution.
thank regards
antonio.
Example:
......................
var Report:TfrReport;
NomeReport:String;
begin
NomeReport := PathReport+'\'+'RptStat01.frf';
Report := frReport1;
if fileExists(NomeReport) then
begin
Report.LoadFromFile(NomeReport);
Report.OnObjectClick := nil;
Report.OnMouseOverObject := nil;
Report.Preview := nil; // preview standard
if Report.PrepareReport then
begin
Report.ModalPreview := true;
Report.ShowPreparedReport;
end;