Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

DBISAM Issue

edited August 2003 in General
I have a report that makes use of the dbisam components. When I initially
create the report, all data is correct in the report. I then save the
report. When I reopen the report, no data is displayed. When I view the
designer, all the dbText fields are blanked out. If I reselect the dbisam
table and the field, the data is loaded, however, only the first record is
displayed (it loops through the first record for all the records). For
example, if I have 10 records, the first record will be duped 10 times.

What am I doing wrong when I reopen the report? If I review the data tab in
the designer, I see my data view and if I click Preview, I see data. Why are
the dbtext components losing their reference?

Thanks.

SMP

Comments

  • edited August 2003
    Some more information.

    If I go into the designer and select Report-Data, no pipeline is selected.
    If I select my dbisam datapipeline, if I click the Preview tab in the
    designer, an AV occurs in ppReport with a message "Cannot generate report.".
    I am sure it is a setup issue, I just don't know what it is.

    The AV is in ppReport in the method:

    procedure TppEngine.FreeBookmarks(aStartPageNo: Integer);

    if (lMasterDataPipeline <> nil) and (FCurrentBookmark <> 0) then
    begin
    lMasterDataPipeline.FreeBookmark(FCurrentBookmark); { ------------>
    AV occurs here }
    FCurrentBookmark := 0;
    lMasterDataPipeline.CurrentBookmark := 0;
    end;


This discussion has been closed.