We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

How can I stop header section repeating on other pages?

sunny012097
sunny012097 asked
on
Medium Priority
1,403 Views
Last Modified: 2008-02-01
Hello experts,

   I have a report with multiple sections. I have a few questions:

     1. How can I set the header part that it will be only printed if there is details under it. Currenly for every page the header section is viewed.
     2. How can convert the date pulled from sql server db and put it in a format like JAN 05, is there a specific function? I am using stored procedures to prepare the unerlying data for crystal.

Thanks
Comment
Watch Question

CERTIFIED EXPERT
Commented:
Hi sunny,
More explanation is needed. You need to be more specific about what is printing that shouldn't.

The report header only prints at the start of the report.
A page header only prints if there is data on the page.
A group header only prints if there are details in the group.


Pete

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2004

Commented:
1. Which header section is printing, Page or Group?  You can look in the margin in Preview

2. If the field is of date datatype when it comes over, then once you place it on the report, you can right click it, choose Format Field, go to the Date tab, click the customize button and set the properties accordingly.
You can also use a formula to convert it to a string in the format you want:

uppercase(totext({table.date},"MMM yy"))

Author

Commented:
I am talking about report header section 2

Author

Commented:
sorry it is
page header section 2
 1. How can I set the header part that it will be only printed if there is details under it. Currenly for every page the header section is viewed.
> You would want to do a conditional suppression on this section.  
     2. How can convert the date pulled from sql server db and put it in a format like JAN 05, is there a specific function? I am using stored procedures to prepare the unerlying data for crystal.
>1. Formula - totext({date],'MMM yy')
>2. Added the column to the report.
      Right click on column, go to format field
      Go to the Date tab
      Select that appropriate format.  There should be one that looks like 'Mar-99'

Hope this helps.
Mike McCrackenSenior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013

Commented:
The page header will print at the top of each page.  When it is printed there is no wayto determine if there are records for that page unless you are getting an extra page.

mlmcc
Agree.  Correct me if I am wrong but it almost sounds like there might be some groupings that may contain no detail line, thus you do not want to show those heading.  For example the number of items per client, page break on new client.  If a client didnt order anything, then it might still create a blank page.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.