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

Accessing Controls on a report

edited September 2003 in General
Hi all. I have a report template that I load from a database (once I have
saved it there)
I am having problems where the group information is not being saved.
What I do is create the report template in the RB designer, then save it to
a DB.
I then load the report into another blank RB report, and I guess that the
groupings are not know to the blank report or something as they dont work.
Anyway, looking in the list I found an example on how to dynamically create
a group which solved my grouping problem, BUT it then raised another issue.
Now, the ResetGroup property is not right for the TppDBCalc controls so it
does not reset the values.

My question IS, how do I access the control in the report template after the
template is loaded so I can set the ResetGroup property? I have tried
accessing it by name, but it does not exist and wont compile etc.

Thanks, Jeremy

Comments

  • edited September 2003
    oh...hehehe there is a saying...R.T.F.M !! (read the F'n Manual) !!
    To quote :- "If any naming conflicts arise while loading the report
    template, ReportBuilder will assign new unique names." hehehe I still had
    the report I designed the template in on the form the report was being
    loaded into....oh the SHAME and EMBARISMENT !!

    Jeremy


This discussion has been closed.