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

Range doesnt work

edited August 2006 in General
?I have a small test project, using RB Enterprise V7.03 and Advantage
database. One datasource, one grid, two report components, one pipeline
component which both reports access.

I want to point to a record in the grid and see a report for that single
record. I have set the RangeBegin and RangeEnd properties to
rbCurrentRecord and reCurrentRecord, but this doesnt seem to work as the
very simple report shows a completely different arbitrary record.

Please advise.



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited August 2006
    Hi Sairheid,

    Take a look at demo 115 (dm0115.pas) located in the \RBuilder\Demos\1.
    Reports\... directory. Does this example work correctly for you? If so,
    try to use the same settings to get your application working.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2006
    The given example works of course, but Ive checked every property of the
    pipeline and the report against my own and ensured they are identical,
    but still the report defaults to showing a single record somewhere in the
    middle of the table. I have ensured there are no filters set and no
    autosearch settings...in fact its a very simple report with no extra
    settings at all but still it insists on showing an arbitrary record from
    the middle of the dataset!!


    so,
    pipeline
    single
    the



    --- posted by geoForum on http://delphi.newswhat.com
  • edited August 2006
    Seems to have been a database problem. I expanded the pipelines 'Dataset'
    property and changed the 'DatabaseName' property to the database alias
    name that the Advantage ADS.INI configuration file requires. That was
    enough, the pipeline now sees the record pointer and the record selection
    works as it should.

    Thanks for your suggestion, it was enough to push me in the right
    direction.

    Sairheid


    the
  • edited August 2006
    A footnote to this problem...the ppReport component keeps dropping its
    DatabaseName property, and then the problem reoccurs. I will start a new
    thread on this. At the moment this problem renders RB unuseable.

    pipelines 'Dataset'
    selection
    the
    from



    --- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.