 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; Initlialize Shared Fields</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/initlialize-shared-fields/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 21:33:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Initializing/resetting subreport and shared values</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/initializingresetting-subreport-and-shared-values/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/initializingresetting-subreport-and-shared-values/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 20:50:51 +0000</pubDate>
		<dc:creator>Bankerjan</dc:creator>
				<category><![CDATA[Crystal Reports]]></category>
		<category><![CDATA[Crystal Reports 8.5]]></category>
		<category><![CDATA[Crystal Reports Subreports]]></category>
		<category><![CDATA[Initlialize Shared Fields]]></category>
		<category><![CDATA[Subreports]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In CR 8.5, I am passing a subreport value to the main report, then using the subreport field value in the main report.  (I have the calculation in the step [em]below[/em] the step that is returing the sub-report value.)   My issue is that once the subreport value gets populated with a non-zero value, it populates [...]]]></description>
				<content:encoded><![CDATA[<p>In CR 8.5, I am passing a subreport value to the main report, then using the subreport field value in the main report.  (I have the calculation in the step [em]below[/em] the step that is returing the sub-report value.)   My issue is that once the subreport value gets populated with a non-zero value, it populates the shared field in the step [em]below[/em] the step that returns the value from the subreport but does not reset/initialize back to 0 or null once that record has been processed. It maintains that value in the shared main report field and calculation until the next non-zero value in the subreport.  I have placed an initialization formula into multiple steps in the main report and in the first step of the subreport,  testing for a location that will reset the shared field.<br/><br/> Example:<br/><br/> [strong]Record1[/strong]: Main report: Score1 = 755, Subreport Score2 = 822, Shared field Score2 in Main Report = 822, Calculation: If Score1 &gt; Score 2,then Score1, else Score2.<br/><br/> [strong]Record2[/strong]:  Main Report:  Score1 692, Subreport Score2 = 0/Null, Shared field Score2 in Main Report = [strong]822[/strong].  Did [em]NOT[/em] pull back 0/Null for Score2.<br/><br/> Should I have to initialize?  If so, where?<br/><br/> Thanks!!<br/><br/>  <br/><br/>  <br/><br/>  <br/><br/>  <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/initializingresetting-subreport-and-shared-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/14 queries in 0.018 seconds using memcached
Object Caching 316/335 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 09:10:04 -->