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

How tu user inherited ?

edited August 2013 in General
Hi,

I try to use inheritence with report Builder, but I got some erros...

I have one form (basicForm), and I put 1 ClientDataSet, 1 dbPipeLine, 1
report. in my clientdataset I have some fields and in my PipeLine I
have the same fields.

I try to create one new form, inherited from the "basic form", in this
new form, my pipeline doesn't show me the fields inherited from
basicForm, and if I try to open it, I got error.


My question is: how can I using inheritence in ReportBuilder?

Cheers,
Fellipe H.

Comments

  • edited August 2013
    Hi Fellipe,

    When placing pipelines on the ancestor form, you need to be sure
    AutoCreateFields is set to False. This way the fields are not recreated
    for each descendent form.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2013
    Ok, but how the report knows each field in pipeline? It`s automatic?

    regards,

    Em 05/08/13 10:31, Nico Cizik (Digital Metaphors) escreveu:
  • edited August 2013

    To have the DataPipeline auto-create the fields, temporarily set
    DataPipeline AutoCreateFields to True and connect the DataSet and set the
    dataset to Active True. Then completely close the form and re-open.
    Double-click the DataPipeline to launch the Fields Editor and check that the
    fields were created. Now set DataPipeline AutoCreateFields to False and
    re-save.



    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.