Print Page | Close Window

Get Total Pages in Crystal Report to a Database -

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21641
Printed Date: 05 May 2024 at 11:22pm


Topic: Get Total Pages in Crystal Report to a Database -
Posted By: jorgep.tec
Subject: Get Total Pages in Crystal Report to a Database -
Date Posted: 13 Aug 2015 at 12:04pm
Hi everyone,

I'm using VB6 Crystal Report 8.5 and I need to get the total pages generated in a report and put this value in a field of my database.

I have my connection to my database but I don't know how to get the value of total of pages.

My libraries are:

-Crystal Report Viewer Control
-Crystal Report 8.5 Control ActiveX Designer Runtime Library
-Crystal Report 8.5 Control ActiveX Designer Desing and Runtime Library


Thanks in advanced!



Replies:
Posted By: jorgep.tec
Date Posted: 14 Aug 2015 at 3:46pm
Any idea?


Posted By: lockwelle
Date Posted: 31 Aug 2015 at 10:46am
I don't think that this is possible. CR is not too helpful that way. You can set certain values, but reading them is pretty spartan. You would have to calculate the number of pages used...and it would probably be a guess, though you can probably get pretty close.

HTH


Posted By: hilfy
Date Posted: 02 Sep 2015 at 8:18am
Also, the SDK for VB6 and Crystal 8.5 are very old and no longer supported. So, long term you will need to consider upgrading your application to .NET with the Crystal for Visual Studio .NET SDK and upgrading Crystal to the latest version (currently Crystal 2013).

-Dell

-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window