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

Invalid Bookmark

edited July 2003 in Subreports
Posted Originally in wrong newsgroup - sorry.

From: "Trish Lee"
Subject: Invalid Bookmark
Date: Monday, 21 July 2003 23:25

Hi
I am using Delphi 5 and Report Builder ver 7_02
I am using a Sub Report in the detail band that has the Print behaviour set
to pbChild.
I have a ODBC express qry that contains 135 records that should print in the
sub report, it prints the first page okay,
when it is calculating the second page it gets an Invalid Bookmark entry,
if I step through code then it stops on this line

DataPipelineRecToState(FDetailDataPipelineState, FDetailDataPipeline,
False);

Can you give me any idea of a property that I may have set wrong to cause
this?

--
Regards


Trish Lee
Barcode Logic Pty Ltd
P.O. Box 62
Budgewoi 2262
NSW Australia
trish@barcodelogic.com.au
www.barcodelogic.com.au


DISCLAIMER
This e-mail and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the use of the recipient(s) named above. Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) by persons
other than the intended recipient(s) is prohibited. If you have received
this e-mail in error, please notify the sender either by telephone or by
e-mail and delete the material from any computer.

Comments

  • edited July 2003
    Reportbuilder requires that the dataset be a proper TDataset descendent as
    RB's report engine uses bookmarks on the dataset in order to traverse back
    and forth in the data it has traversed. Can you isolate the records for the
    page or group acttion that is causing the problem? RB will use bookmarks
    when it has to suport KeepTogether over a page break. Can you test with
    another data connectivity to see if it is just ODBC express causing the
    problem? This way we'll know that it is a problem in the data access and not
    RB's data traversal engine. It is rare that there is a problem in our engine
    as it is in use by thousands of users without any problem. If you could send
    us a minimal example to support@digital-metaphors.com that shows the problem
    we'll be happy to take a look at the issue.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2003
    Hi Jim,

    Once again you have saved the day.
    I was using a query and not a dataset.
    Works fine now.

    Regards
    Trish Lee

This discussion has been closed.