Hi,
I have a group header and I have a invisible textbox which initializes some variable in the custom code (written using C#). The Group Header has been set to repeat on each page but whenever it repeats, the variable is not being initialized. It is initialized only when a new section of the same group starts. Please let me know if this is a drawback with Microsoft reporting services and if there is any workaround.
Thanks,
Shyam
Hi Shyam
I'm don't know if the hidden textbox is in the group header,
in the case that is is not:
Try putting the Initialization code into a hidden column in the groupHeader,
it should solve your problem.
Gerhard Davids
|||The group header has just one rectangle and many textboxes inside it. One of the textboxes is hidden which is used to initialize the variable in custom code. I tried to put the same in another new column which is hidden but it did not work. But in crystal reports, the initialization code is invoked everytime a group header is displayed either in a new page as a new group.
Thanks,
Shyam
|||I've Tried this out and couldnt get it working.
This is a sticky Problem, maby see if it is not possible to get it into the Page header instead.
It may be that the header isn't redone on every page simply re-displayd,
Where as the page header i think is different.
Gerhard
No comments:
Post a Comment