sunny012097
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I am talking about report header section 2
ASKER
sorry it is
page header section 2
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.
> 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.
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
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.
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.da