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

Repeating records over pagebreak

edited May 2003 in General
Hi:

I am using RB standard 6.03.

The above problem was reported to us by our clients. We use RB to generate
statements and it displays some payment twice (in the last row of the
previous page and again in the first row of the next page). The total is
out too as a result.

I did a search on this newsgroup and found the same problem from other
threads but there was no solution. Is this problem fixed? Is there a patch
for it? If not, how to work around this?

Thanks,
Ping Kam

Comments

  • edited May 2003
    The first thing to do is to try testing with RB 7.02 Trial Edition from our
    website www.digital-metaphors.com to see if the problem goes away. Make sure
    you are not traversing the dataset while the report is generating, that
    would be the only way the engine may get out of sync as far as the current
    record position is concerned. There are no known issues in RB 7.02. If you
    can send us a simple example in RB 7.02 that does show the problem we can
    research the issue.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    "Jim Bennett (Digital Metaphors)" wrote in
  • edited May 2003
    RB 6.03 is the latest version 6 release. Do you have multiple versions of
    Delphi installed? For example, if you had D5 and D6 installed, with RB 6.03
    installed for D6, then you could install RB 7.02 for D5 and leave RB 6.03
    installed for D6. Each install of RB is specific to an installed version of
    Delphi on your machine.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited May 2003
    "Jim Bennett (Digital Metaphors)" wrote in
  • edited May 2003
    "Jim Bennett (Digital Metaphors)" wrote in
  • edited May 2003
    > I can of course write it to a file first then open it into a
    filestream....

    Check Report.Template.SaveToStream and LoadFromStream methods.



    IT is going to behave the same way in RB 7 as it does in RB 6 in regards to
    how the report engine traverses records. The report engine is simply
    navigating through the dataset. This depends on how well-behaved your
    dataset is and how well it supports the TDataset interface and its bookmark
    implementation. Have you examined our Report Server Edition? It is the best
    and easiest way to get your reports to clients in a multi-tier architecture,
    whether it is across your local network in a thin-client Delphi app or over
    the Web with Javascript and XHTML.


    Cheers,

    Jim Bennett
    Digital Metaphors
  • edited May 2003
    "Jim Bennett (Digital Metaphors)" wrote in
  • edited June 2003
    The report archive is the acutal report output pages, which are streamed to
    a file. There isn't a stream device, but I know TExtraDevices www.waler.com
    can output to a stream as a feature. You may want to check that out before
    you start coding your own device. The best thing I think if you want to use
    RB Standard is to generate the report as an archive file and then send it to
    the client to read with an ArchiveReader component.

    The Report Server Edition is an extremely great value for the price, plus
    the Server Edition includes a free license for RB Enterprise and one free
    deployment license. Have you seen Crystal Reports server pricing?


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited June 2003
    "Jim Bennett (Digital Metaphors)" wrote in
  • edited June 2003
    Sorry, I missed this thread in my reader. If you want to simply stream
    pages, here is an example:

    http://www.digital-metaphors.com/tips/PageAsStream.zip


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited June 2003
    I will check it out.

    Thanks,
    Ping Kam

This discussion has been closed.