Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Count Question
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Page Count Question
Miscellaneous
Thread ID:
01186301
Message ID:
01186301
Views:
72
We are using the following code to determine the page count:
WITH ThisForm

	oPrintingStatus = .oCRReport.PrintingStatus

	sErr = ON("ERROR")
	ON ERROR lErrored = .T.

	.txtTotalPages.Value = oPrintingStatus.NumberOfPages()

	ON ERROR &sErr

	oPrintingStatus = .NULL.

	.txtTotalPages.Refresh()

ENDWITH
The problem is that this causes Crystal to call the SQL stored proc to
get the data. Then the proc is called again when the report shows.

Is there a different way to get the page count?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform