Solved

Can not see all page number in Cross-Tab Report (Crystal 8)

Posted on 2001-08-16
7
218 Views
Last Modified: 2012-08-14
Dear Expert..;

  I use Cross-Tab Report Wizard to view data. However I can see first page number and last page number only.

  How can I do if I want to view all page number and have page header in all page...?

  Please answer me

  Niti
0
Comment
Question by:u3520384
  • 4
  • 3
7 Comments
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6393295
If you are using the cross tab wizard, the resulting crosstab is placed in the REPORT header.  You cannot move it to another section that I know of.

Because the report header is printed once per report, I'm not sure you can do what you want to do if you use the wizard.

The cross tab wizard is a shortcut.  There are other ways to get the same results and have the same basic appearance unless the number of columns you have varies.  You might also try basing your report on a crosstab query created in your database, instead of letting Crystal Reports perform the crosstab for you.

DRRYAN3
0
 

Author Comment

by:u3520384
ID: 6395440
From my needs, the number of column have varies base on customer need.

 If I don't use Cross-Tab Wizard , which is the method I can see all page number. Because from Cross-Tab wizard, It is showed to Report Header , it make me see page number at first page and last page only

 Please answer me , If my report have the number of column which have varies and I want to view all page number.

 Assume that Column name is Shift(Shift can increase base on customer need..may be 2 or3 or 4) and Row name is Item_No.

  Please...

Ake
0
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6395664
If you only have up to 4 columns, build your report with 4 columns.  Suppress the ones that have no data.  With formulas you can suppress the column headers too.

DRRYAN3
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:u3520384
ID: 6400036
Dear K. DRRYAN3

  My company is Software House I am coding Software for Pub and Restaurants. Therefore I am no way to know that my customer have 2 or3 or4 shift or Column... I can not know...  Please answer
0
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6400448
Your report is data driven, right?

In a previous thread you learned how to build the select statements to pull data by date and time, right?

Tag the records with a shift number before they are printed.  If you use formulas in your report instead of fields you can control when text prints on the report.

For example:

if {mytable.shiftno} = 1 then
  "COLUMN HEADER"
else
  ""

might be the formula you use for one of your column headers.  It will print only when data is present from shift one.  If the business operates on only one shift, they only see one shift - if they operate on three, they see three sets of columns.

This is probably the easiest approach to your problem.  To be fair, there are others.  

One that comes to mind is creating the report in code using the CRPE library or with the new design time libraries.  You can build an entire report from scratch in code.  There is a lot of detail work you cannot miss for this to work.

Let me know if this helped answer the question "how can I get a varying number of columns to print without using the CrossTab Wizard so I can get page numbers on every page?"

DRRYAN3
0
 

Author Comment

by:u3520384
ID: 6404237
Yes..  DRRYAN3,, That is the Question Name I want

I use Shift as Column Name.It depend on my customer.
Number of Shift is vary. Therefore it must use Cross-Tab Only

Niti
 
0
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 100 total points
ID: 6406516
Once again, it is not necessary to use the cross-tab expert to produce the results you want.  You can put all the columns you need to handle up to 4 shifts on your report design and selectively hide the ones which do not apply.

If you use the cross-tab wizard, you will not have page numbers if your report is several pages long.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Formatting a Crystal Reports Report 9 94
Store total calculated duration sessions. 44 90
Sum of multiple formulas 6 23
Parameter Requester showing comma in number field 7 36
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question