Two Pass/Tlist Example
Hi,
I'm trying to supress some detail/Band printing based upon certain
conditions.
I think I need to have a two pass report, and during the first pass
calculate some values, and on the 2nd pass, decide to display or hide detail
based upon the first pass. I have a few questions regarding this
1) Do you have an example using a TList, or TobjectList (I've already seen
the global fvalue examples)
2) Can I expect the order of the report in regards to bands to be the exact
same during the second pass, so that I can simply stack my values in my
TList and pop off the values as I encounter the bands, or do I need to set
up some type of index for my TList and reference it that way?
3) and If So to #2, is there some sort of unique identifier for each band so
that I could reference this as my key?
Thanks,
John
From a Previous Posting:
look
of
read
I'm trying to supress some detail/Band printing based upon certain
conditions.
I think I need to have a two pass report, and during the first pass
calculate some values, and on the 2nd pass, decide to display or hide detail
based upon the first pass. I have a few questions regarding this
1) Do you have an example using a TList, or TobjectList (I've already seen
the global fvalue examples)
2) Can I expect the order of the report in regards to bands to be the exact
same during the second pass, so that I can simply stack my values in my
TList and pop off the values as I encounter the bands, or do I need to set
up some type of index for my TList and reference it that way?
3) and If So to #2, is there some sort of unique identifier for each band so
that I could reference this as my key?
Thanks,
John
From a Previous Posting:
look
of
read
This discussion has been closed.
Comments
exact
Even if they could guarentee that today (I am not sure they can as you seem
to be setting visiblity of items based on values in the second pass), that
may not be true tomorrow. I would recommend for the long term maintenance
that you consider bitting the bullet now and using an index. Note that there
are several good in-memory datasets that can handle a lot of the work for
you.
Ed Dressel
Team DM