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

Iterating over TdaField objects in SQL object

edited July 2002 in General
Hi,

Given a report's TdaSQL object, is it possible to iterate through its
TdaField objects?

Thanks,
Vinnie Murdico

Comments

  • edited July 2002
    You can iterate individually through the specific groups of fields such as:

    for liIndex := 0 to mySQL.SelectFieldCount - 1
    // access mySQL.SelectFields[liIndex]

    You can do the same with OrderByFieldCount/OrderByFields,
    GroupByFieldCount/GroupByFields...

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.