Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

SetItem into Child Datawindow Not Appearing in Parent Report Display

$
0
0


I have a composite datawindow with nested reports.  After the main report and nested reports have completed retrieving, I am looping through the nested report rows, getting a ChildDW reference, and then attempting to change a date/time value in a field within the ChildDW.  Everything seems to work fine as I get the ChildDW, loop through the rows on the ChildDW to get the current value in a date/time column.  I then change the date/time value and use a SetItem to put the new value back into the ChildDW.  The SetItem return status is 1 and if I do a GetItemDateTime for that same row/column, I see the new value I just put there.

 

However, once all this is done and the main report is displayed, the values in the nested report still show the old date/time values and not the new ones I successfully put in.  I've tried all kinds of things like SetRedraw on the main and childDW to make the display update to what is in the datawindow buffer, but to no avail.  Does anyone have any advice to offer on what I need to do in order for the display to reflect the changes within a nested report?

 

I cannot use dot notation since this is a general function that works on many different reports and so I cannot hardcode the name of the nested reports.

 

I'm running PB 12.5.1 EBF 4595.


Viewing all articles
Browse latest Browse all 7999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>