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

Dynamic FieldNames

edited October 2006 in General
Hi everybody...

I need to produce a report.that one dbText object can contain different
field names.
At design time the dbText object poits to price1 field

At runtime, the user needs to select wich field to include in the report;
price1
price2 or price3.

The idea is use the same report for the List Prices

How can I do this ?

Thanks in advance
Regards

Comments

  • edited October 2006
    Hi Jose,

    Depending on when you would like to give your users the ability to select
    which field they would like to display, you could manually assign the
    DBText.DataField property before the report prints (either before you make
    the call to Report.Print or in the Report.BeforePrint event).

    --
    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.