Joined: 22 Feb 2008
Location: India
Online Status: Offline
Posts: 10
Topic: Page Header Problem Posted: 17 Apr 2008 at 6:37am
Hi,
(Microsoft Visual Studio 2005)
I have a problem with the Page header. In the Suppress section there is a formula for the Page Header. The formula is :
if OnLastRecord then
true
else
false.
(This Formula is given so that Page Header section is not shown in the
last page because the last page contains only some text, but all other
pages contains the datas from the database..)
The page is Working fine with the datas that are already there in the database. ie, the datas are shown properly.
But in the case of a newly added data to the database the page header
is not shown while Running the program. The page header is missing. And
the other sections (Detail, Page Footer) is perfectly alright and the
data's are shown....
Please reply if there is any possible way out or any other alternatives.
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 16 Jun 2008 at 3:21pm
You have to go to the Format Options of the Page header and on the right side you'll see the Suppress property. Click on the formula button and enter the code.
OnLastRecord.
This suppresses that Page Header for the last record in the report.
I have many examples of advanced formatting techniques in my Encyclopdia book. You can find out more about my books at
Amazon.com
or reading the Crystal
Reports eBooks online.
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