Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Resetting a variable on change of group
Migrateduser
<p>The report I am trying to do groups lists appointments with their statuses so they are grouped by the appointment ID and different rows contain the different statuses such as "Checked In" "In Room" etc.</p><p>I am trying to save detail data into a varible to use at a group level. I initialize the variable in onInitialize method for the report.</p><p>At the detail level I am doing this to populate the value:</p><p><strong class='bbc'> if</strong> (<strong class='bbc'>this</strong>.getRowData().getColumnValue("Scheduling Action") == "CHECKIN")</p><p> checkinTime = <strong class='bbc'>this</strong>.getRowData().getColumnValue("Action Date and Time");</p><p> </p><p>The above works fine, the problem I am having is resetting the variable. I have tried doing it in the onPrepare, onCreate and onRender methods for the appointment Id group I am using.</p><p> </p><p>Any ideas would be appreciated. I am still pretty new at this.</p><p> </p><p>I am using BIRT version 3.7.2.</p>
Find more posts tagged with
Comments
There are no comments yet