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

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
u3520384Asked:
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.

DRRYAN3Commented:
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
u3520384Author Commented:
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
DRRYAN3Commented:
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
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

u3520384Author Commented:
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
DRRYAN3Commented:
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
u3520384Author Commented:
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
DRRYAN3Commented:
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

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
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.