Data Connectivity
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Data Connectivity
Message Icon Topic: Page Header Problem Post Reply Post New Topic
Author Message
ediyillam
Newbie
Newbie
Avatar

Joined: 22 Feb 2008
Location: India
Online Status: Offline
Posts: 10
Quote ediyillam Replybullet 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.

Thank You.
prashanth.e
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 18 Apr 2008 at 1:53pm
First, change it to just:
 
OnLastRecord
 
This evaluates to True or False, so you don't need the rest of what you have.
 
What do you mean by "newly added data"? Is this after a refresh of the report?
 
-Dell
IP IP Logged
gurarpangill
Newbie
Newbie


Joined: 04 Jun 2008
Location: United States
Online Status: Offline
Posts: 6
Quote gurarpangill Replybullet Posted: 16 Jun 2008 at 1:44pm
Please tell where this code is to be written
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet 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>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.031 seconds.