473,395 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

CrystalReport page count

How can I get CrystalReport total and current page?
Nov 17 '05 #1
6 5347
David,

Crystal offer two 'special fields', Current Page Number and Total Page
Count. You can drag them from the Field Explorer into your report.
Be careful with Total Page Count! Crystal will need to render all pages of
the report in order to show the count in the first apge!

Regards - Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:ea**************@TK2MSFTNGP10.phx.gbl...
How can I get CrystalReport total and current page?

Nov 17 '05 #2
David,

Crystal offer two 'special fields', Current Page Number and Total Page
Count. You can drag them from the Field Explorer into your report.
Be careful with Total Page Count! Crystal will need to render all pages of
the report in order to show the count in the first apge!

Regards - Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:ea**************@TK2MSFTNGP10.phx.gbl...
How can I get CrystalReport total and current page?

Nov 17 '05 #3
No I need to get it programmatically.

"Octavio Hernandez" <do****@danysoft.com> wrote in message
news:u5*************@TK2MSFTNGP15.phx.gbl...
David,

Crystal offer two 'special fields', Current Page Number and Total Page
Count. You can drag them from the Field Explorer into your report.
Be careful with Total Page Count! Crystal will need to render all pages of
the report in order to show the count in the first apge!

Regards - Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:ea**************@TK2MSFTNGP10.phx.gbl...
How can I get CrystalReport total and current page?


Nov 17 '05 #4
No I need to get it programmatically.

"Octavio Hernandez" <do****@danysoft.com> wrote in message
news:u5*************@TK2MSFTNGP15.phx.gbl...
David,

Crystal offer two 'special fields', Current Page Number and Total Page
Count. You can drag them from the Field Explorer into your report.
Be careful with Total Page Count! Crystal will need to render all pages of
the report in order to show the count in the first apge!

Regards - Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:ea**************@TK2MSFTNGP10.phx.gbl...
How can I get CrystalReport total and current page?


Nov 17 '05 #5
David,

¿From C# code?
What I'd do is to place the two special fields in the adequate sections,
supressing them if you don't need them to appear in the report, and then
obtain thier value using a syntax like (report1.Sections[i].ReportObjects[j]
as TextObject).Text.

Regards- Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP09.phx.gbl...
No I need to get it programmatically.

"Octavio Hernandez" <do****@danysoft.com> wrote in message
news:u5*************@TK2MSFTNGP15.phx.gbl...
David,

Crystal offer two 'special fields', Current Page Number and Total Page
Count. You can drag them from the Field Explorer into your report.
Be careful with Total Page Count! Crystal will need to render all pages
of the report in order to show the count in the first apge!

Regards - Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:ea**************@TK2MSFTNGP10.phx.gbl...
How can I get CrystalReport total and current page?



Nov 17 '05 #6
David,

¿From C# code?
What I'd do is to place the two special fields in the adequate sections,
supressing them if you don't need them to appear in the report, and then
obtain thier value using a syntax like (report1.Sections[i].ReportObjects[j]
as TextObject).Text.

Regards- Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP09.phx.gbl...
No I need to get it programmatically.

"Octavio Hernandez" <do****@danysoft.com> wrote in message
news:u5*************@TK2MSFTNGP15.phx.gbl...
David,

Crystal offer two 'special fields', Current Page Number and Total Page
Count. You can drag them from the Field Explorer into your report.
Be careful with Total Page Count! Crystal will need to render all pages
of the report in order to show the count in the first apge!

Regards - Octavio

"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:ea**************@TK2MSFTNGP10.phx.gbl...
How can I get CrystalReport total and current page?



Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: s-galit | last post by:
hi, i have a formula parameter in my crystalReport how can i initalize the parameter so that in every line in the crystalReport the parameter will have a different string? how to get to line in...
3
by: redneon | last post by:
I've populated a DataSet in my C# program and verified that it contains the data I passed it. I've then created a blank CrystalReport and set it's DataSource to my DataSet. Then I created a...
1
by: Jason Huang | last post by:
Hi, Would someone tell me how to open a CrystalReport in my ASP.Net C#? We can use the Show method to open a windows form, but what method should we use for opening a CrystalReport? Thanks for...
2
by: Don Wash | last post by:
Hi All! I've been searching everywhere for a simple sample of producing a bar graph using CrystalReport by specifying SQL Query, and I've found none of it! I find so many complex samples with so...
0
by: David Dvali | last post by:
Hello. I have some strange problem and will be very thankful if anybody will help me to solve it. In my ASP.NET web form I have used CrystalReport to produce some report, now I want to export...
0
by: David Dvali | last post by:
Hello. I have some strange problem and will be very thankful if anybody will help me to solve it. In my ASP.NET web form I have used CrystalReport to produce some report, now I want to export...
0
by: David Dvali | last post by:
Hello. Is any method to control quantity of the records per page in a CrystalReport's report from ASP.NET? I just need to add one parameter to my web page for controlling quantity of the...
0
by: agcabutotan | last post by:
Hi to everyone. I am new in this thread, please help me. I'm having difficulty with CrystalReport.Net. I have a completed project written and compiled in VB.Net (and I used CrystalReport.Net in...
1
by: mhsasono | last post by:
Hi all, Has anybody experienced with CrystalReport? My question is: Does CrystalReport have capability to print the Microsoft Word document? Reason: I want to know CrystalReport capability...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.