Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Iterating over TdaField objects in SQL object
rbuser
July 2002
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
digitalmetaphors
July 2002
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
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com