Home General

Attach a template's data at runtime only

edited May 2011 in General
I am using 12.04.

I created some templates using the designer. I am unable to attach them to
the DB while designing at this time. I would like to set up the data fields
in the template to be ready so that I can just connect a pipe to the report
at run time and the report will be generated. When I enter the DataField
with the field name that will be available and leave that control on the
template and come back to it, the DataField is blank again.?I even tried
editing the rtm directly but that did not seem to work either. Is this even
possible to do? If so, any assistance would be greatly appreciated.

Thanks

Shawn



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

Comments

  • edited May 2011
    Hi Shawn,

    Once again, please change the value of the "From" field to your name
    rather than your email address when posting.

    When setting the Report.DataPipeline or the DataField property of a DB
    component, the pipeline and field must be present. Otherwise the value
    is ignored. At design-time, the pipeline object needs to be available
    with the proper fields added at a minimum. The workaround is to assign
    these values at runtime in code.

    The easiest alternative solution would be to take care of all your data
    access in DADE (data tab). This keeps all data access local to the
    template itself so there is no need for pipeline or DB objects elsewhere
    in your application.

    http://www.digital-metaphors.com/rbWiki/DADE/Fundamentals/What_is_DADE?


    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.