Formating page numbers in CR.NET 
Author Message
 Formating page numbers in CR.NET

Hi!

In formula editor I created my own Page X / Y. It's look this:
"Pg " & PageNumber & " / " & TotalPageCount.

Problem is when I show the report numbers are displayed with decimals.
On report is displayed as Pg 1.00 / 5.00. How to remove this decimal
so it will look like if I took build in expression which is without
decimals?

And one more question: How can I change Report title after I finished
report with wizard. I can't find any way to do this?

Thank you,
Billy



Sun, 26 Jun 2005 05:00:13 GMT  
 Formating page numbers in CR.NET

There is a "Special Field" representing Page N of M. You can insert it
through Insert->Field Object->Special Fields.
It will be formatted for you.
vasya


Quote:
> Hi!

> In formula editor I created my own Page X / Y. It's look this:
> "Pg " & PageNumber & " / " & TotalPageCount.

> Problem is when I show the report numbers are displayed with decimals.
> On report is displayed as Pg 1.00 / 5.00. How to remove this decimal
> so it will look like if I took build in expression which is without
> decimals?

> And one more question: How can I change Report title after I finished
> report with wizard. I can't find any way to do this?

> Thank you,
> Billy



Sun, 26 Jun 2005 05:45:13 GMT  
 Formating page numbers in CR.NET
"Pg " & ToText(PgaeNumber,0) & "/" & ToText(TotalPageCount,0)


Quote:
> Hi!

> In formula editor I created my own Page X / Y. It's look this:
> "Pg " & PageNumber & " / " & TotalPageCount.

> Problem is when I show the report numbers are displayed with decimals.
> On report is displayed as Pg 1.00 / 5.00. How to remove this decimal
> so it will look like if I took build in expression which is without
> decimals?

> And one more question: How can I change Report title after I finished
> report with wizard. I can't find any way to do this?

> Thank you,
> Billy



Sun, 26 Jun 2005 10:27:12 GMT  
 Formating page numbers in CR.NET
Thank you! That's I need.
Quote:

> "Pg " & ToText(PgaeNumber,0) & "/" & ToText(TotalPageCount,0)



> > Hi!

> > In formula editor I created my own Page X / Y. It's look this:
> > "Pg " & PageNumber & " / " & TotalPageCount.

> > Problem is when I show the report numbers are displayed with decimals.
> > On report is displayed as Pg 1.00 / 5.00. How to remove this decimal
> > so it will look like if I took build in expression which is without
> > decimals?

> > And one more question: How can I change Report title after I finished
> > report with wizard. I can't find any way to do this?

> > Thank you,
> > Billy



Sun, 26 Jun 2005 14:57:46 GMT  
 Formating page numbers in CR.NET

Hey Billy,

In case you need it, I have a CR.NET ebook online. It's 15 chapters, over
300 pages and totally free.

www.CrystalReportsBook.com/rdr.asp?cpgn=ngcr_010803

Check it out.

Brian Bischof
--
Moving from VB6 to .NET? It just got easier...
"The .NET Languages: A Quick Translation Guide"
 http://www.amazon.com/exec/obidos/ASIN/1893115488


Quote:
> Thank you! That's I need.




Quote:
> > "Pg " & ToText(PgaeNumber,0) & "/" & ToText(TotalPageCount,0)



> > > Hi!

> > > In formula editor I created my own Page X / Y. It's look this:
> > > "Pg " & PageNumber & " / " & TotalPageCount.

> > > Problem is when I show the report numbers are displayed with decimals.
> > > On report is displayed as Pg 1.00 / 5.00. How to remove this decimal
> > > so it will look like if I took build in expression which is without
> > > decimals?

> > > And one more question: How can I change Report title after I finished
> > > report with wizard. I can't find any way to do this?

> > > Thank you,
> > > Billy



Sun, 26 Jun 2005 16:44:07 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Page number control in CR 7

2. CR 4.6 Page Numbering

3. CR.NET page function text

4. Find good book about using CR.NET with VS.NET and .NET Framework

5. VS.Net + Cr.Net and VB.Net

6. Get last page number failed with .Net

7. CR Formating

8. CR 8.5 and CR from VS.Net package

9. CR .Net or CR 9 Developer

10. Help formating Numbers

11. formating phone number

12. formating TextBox inputs (only numbers)

 

 
Powered by phpBB® Forum Software