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

New Fields Not In DataPipeLine In D5 IDE

edited September 2002 in General
Hello All:

Within the Delphi 5/ReportBuilder 6.02 IDE, we cannot get new fields to
show up in the BDEpipeline. Our PipeLine has the persistent fields loaded.

We are adding calculated fields to our DBISAM table. However, the
additional fields are not showing up in the PipeLine in the IDE.

How do we get these new fields into the PipeLine in the IDE ??? Right
now, we need to click addfields and add them one at a time ( error prone and
time consuming ). Is there another way to accomplish this task ???


Thank you.


Neil Huhta
Profit Monster Data Systems LLC





Neil Huhta

Comments

  • edited September 2002
    You can delete the pipeline and drop a new one on the form. The fields
    should be automatically recreated when it is connected to the dataset. That
    would be the quickest way to make sure that it gets all the fields.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Jim:

    I need a different answer because deleting the pipeline also causes the
    dbtext and other components to lose their pipeline settings. This creates
    more work than manually adding the fields.

    We have 3 or so pipelines on each report. 2 of them have new fields
    being added regularly - mostly calculated fields.

    My forms people are not sophisticated so manually adding fields is prone
    to creating errors.

    Would it be reasonable/practical to build a pipeline decendent with a
    refreshfields method ??? If so, how would I start ???

    What other ideas do you have ???

    Is there a way to prevent the components from losing their pipeline
    settings when the pipeline is redone ???

    Thank you.


    Neil Huhta
  • edited September 2002
    Hi Neil,

    if you don't use the form as report storage then no component will lose the
    pipeline settings.
    But if you uses the form as storage (I don't recommend that), I would simply
    copy the report definition out from the DFM, rebuild the pipeline and
    exchange the report definition with the backup copy.

    HTH,
    Chris Ueberall;

  • edited September 2002
    You need to set ParentDataPipeline to true on the data aware components in
    the report. This way the data pipeline assignment will be automatically
    hooked back up to each data aware control when you reconnect the data
    pipeline to the report.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Guys:

    I like the idea or re-refreshing the report components from the rtm
    file. That would allow us to re-create the pipelines.


    Neil Huhta
This discussion has been closed.