Joined: 14 Feb 2007
Online Status: Offline
Posts: 2
Topic: How to suppress a field based on a suppressed fiel Posted: 14 Feb 2007 at 2:37pm
Hi
I have a subreport where I have suppressed a field if it's a duplicate. I want to suppress a second field based on the first field being suppressed. Is there a way to this. In p-code something like
if {first field} is suppressed then suppress {second field}
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 14 Feb 2007 at 3:35pm
You can't do such a thing, but you could copy the same formula logic from the first field into the second. That way they are both suppressed at the same time.
Ummm... wait a minute, you COULD set global variable and set it to true or false within the first formula. Then in the second formula check the variable's value. Just make sure you reset it each time so that you don't accidentally get a carryover from a prior record.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum