How can I stop header section repeating on other pages?

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
sunny012097Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

peter57rCommented:
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
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bdreed35Commented:
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"))
0
sunny012097Author Commented:
I am talking about report header section 2
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

sunny012097Author Commented:
sorry it is
page header section 2
0
wykabryanCommented:
 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.
0
mlmccCommented:
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
0
wykabryanCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.