Print Page | Close Window

Value to be displayed in Page header setion

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9239
Printed Date: 03 May 2024 at 12:02pm


Topic: Value to be displayed in Page header setion
Posted By: kanchi
Subject: Value to be displayed in Page header setion
Date Posted: 27 Feb 2010 at 10:14pm
Hi,

I want to display the value of one fields which is having 2 values null and 'ABC' , when i pull this field in Page header section it displays blank instead of 'ABC'.
Please suggest me how can i get the value of 'ABC' in page header.

thanks in advance.



Replies:
Posted By: lockwelle
Date Posted: 01 Mar 2010 at 6:27am
There isn't a way to force a value in the page header.  It reads the 'current' record of the dataset and then displays those values.  You could code a variable or you could change the order of the data so that the abc value is on top, but on other pages it might fail...the variable wouldn't change, but you need to read the data....you might try setting the value of the variable in the data filter section of the report, since it will read all the records trying to determine if a value should be included or excluded from the report.
 
HTH


Posted By: kanchi
Date Posted: 01 Mar 2010 at 7:56am
Thanks for the response,

if there is not any way to force any value in the page header section so in other way can we have any variable with formula applied in such a way that we can get only "not null" value returned. I think using this i can get what i want.

Please suggest.



Print Page | Close Window