<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://prologika.com/CS/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Maintaining State in Reporting Services 2008</title><link>http://prologika.com/CS/blogs/blog/archive/2009/06/30/maintaining-state-in-reporting-services-2008.aspx</link><description>Sometimes, more advanced reporting needs may require maintaining state using custom code. Recently I had to implement a rather involved report consisting of two sections: a detail section that used a recursive sum, Sum(Fields!SomeField.Value, , True)</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Maintaining State in Reporting Services 2008</title><link>http://prologika.com/CS/blogs/blog/archive/2009/06/30/maintaining-state-in-reporting-services-2008.aspx#4583</link><pubDate>Tue, 22 Jun 2010 20:10:07 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:4583</guid><dc:creator>ASP808</dc:creator><description>&lt;p&gt;Hi, need some further detail. &lt;/p&gt;
&lt;p&gt;What should the expression be for the text box that is storing the data? &lt;/p&gt;
&lt;p&gt;And what should the expression be for the text box that is retrieving the data? &lt;/p&gt;
&lt;p&gt;What is id and column ?&lt;/p&gt;
&lt;p&gt;Where should the rest of the function be called? such as the onInit() OR is it called automatically on each render?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=4583" width="1" height="1"&gt;</description></item><item><title>re: Maintaining State in Reporting Services 2008</title><link>http://prologika.com/CS/blogs/blog/archive/2009/06/30/maintaining-state-in-reporting-services-2008.aspx#3678</link><pubDate>Wed, 26 Aug 2009 11:51:15 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:3678</guid><dc:creator>Teo Lachev</dc:creator><description>&lt;p&gt;Nope, no such method&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=3678" width="1" height="1"&gt;</description></item><item><title>re: Maintaining State in Reporting Services 2008</title><link>http://prologika.com/CS/blogs/blog/archive/2009/06/30/maintaining-state-in-reporting-services-2008.aspx#3675</link><pubDate>Wed, 26 Aug 2009 08:53:58 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:3675</guid><dc:creator>joftingson</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Is there also a special method like On_Unload that can be used inside a custom code?&lt;/p&gt;
&lt;p&gt;Thanks, &lt;/p&gt;
&lt;p&gt;Joefer&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=3675" width="1" height="1"&gt;</description></item><item><title>re: Maintaining State in Reporting Services 2008</title><link>http://prologika.com/CS/blogs/blog/archive/2009/06/30/maintaining-state-in-reporting-services-2008.aspx#3499</link><pubDate>Thu, 02 Jul 2009 20:19:47 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:3499</guid><dc:creator>Teo Lachev</dc:creator><description>&lt;p&gt;Samsonfr,&lt;/p&gt;
&lt;p&gt;Yes, it turns out that even if the hashtable key is user-specific and we do only adds and deletes (not updates to items from other users), we do need to make access to the hashtable collection thread-safe. I updated the blog. Thanks for pointing this out!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=3499" width="1" height="1"&gt;</description></item><item><title>re: Maintaining State in Reporting Services 2008</title><link>http://prologika.com/CS/blogs/blog/archive/2009/06/30/maintaining-state-in-reporting-services-2008.aspx#3498</link><pubDate>Thu, 02 Jul 2009 17:13:31 GMT</pubDate><guid isPermaLink="false">bb61d221-b363-4d22-8192-4aa25b39c5db:3498</guid><dc:creator>samsonfr</dc:creator><description>&lt;p&gt;Thanks for sharing this with us. I was not aware of the multi-paging behavior.&lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t you protect yourself against multithreaded issues? Multiple threads can access your static hashtable at the same time, shouldn&amp;#39;t you use locks?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=3498" width="1" height="1"&gt;</description></item></channel></rss>