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

Determining band type

edited October 2006 in General
I want to process only objects in the detail band.

How do I do something like:

if aReport.Bands[liBand] is a detail band then do something


Jon

Comments

  • edited October 2006
    Hi Jon,

    You can check the class type of a band to determine which band you are in.
    If you would only like to access objects in the detail band, try using a
    report object loop that checks if the band is a TppDetailBand object.

    if aReport.Bands[liBand] is TppDetailBand then
    //loop through detail band objects.


    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2006
    I !should! have known that...

    Thanks Nico

This discussion has been closed.