Home General

Current Record not Honored ? (REPOST)

edited August 2001 in General
I am having a problem since upgrading from RB 5.56 to RB 6.01. Reports work
as always for a whole data set, but when I set the data pipeline range
begin/end to rbCurrentRecord and reCurrentRecord the dataset jumps to its
SECOND record. I do only get one record in the report, but the dataset is no
longer on the one that was of interest!


As far as I know, nothing else has changed except the RB version. I am using
Delphi 5. Can you help?


Mike Combellack

Comments

  • edited August 2001
    I set the range begin and range end to current record, but the record
    position doesn't move at all. Can you describe the report in more detail,
    in regards to any relevant event handlers? Are you doing something like
    demo #115 in the main reports demo? It appears that demo 115 works
    correctly.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    Thanks for this. Demo 115 worked correctly for me. Then I changed the
    dataset to a TIBODatset (from IB Objects), using an Interbase table. I
    changed nothing else. The report then exhibited the erroneous behaviour
    described earlier (jumps to the first record and then advances one). Could
    this be an Interbase or IBO problem - or do you know of any Report Builder
    problems with Interbase tables?

    Regards

    Mike Combellack

  • edited August 2001
    Problem half-solved! This is actually a problem with the latest version of
    IB Objects, and is related to it returning an incorrect bookmark. A quick
    fix gets round the problem, but am waiting for an official one.

    How exactly does Report Builder use bookmarks in the context of printing a
    report for the current record anyway?

  • edited August 2001
    Bookmarks are always used, even if there is only one record being traversed.
    The engine isn't optimized for this because it generally doesn't pose a
    problem.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.