Solved

Creatiing alert to notify when totalpagenumber > 1 - this is urgent, please help!

Posted on 2004-04-26
5
547 Views
Last Modified: 2012-06-27
Hi there.  I have a report that returns multiple customer records.  Sometimes the record may span 2 pages, mostly one.  I want to create an alert that tells me when it DOES span 2 pages however, I keep getting the message "one of the previous fields is not constant over group level of this field".
0
Comment
Question by:mwhalen061600
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 10920260
How are you calling the report?

mlmcc
0
 
LVL 42

Accepted Solution

by:
frodoman earned 500 total points
ID: 10920367
AFAIK there is no way to do this.

The problem is that alerts are usually triggered in the "BeforeReadingRecords" or "WhileReadingRecords" pass of the report engine but the number of pages isn't available until the "WhilePrintingRecords" pass (which is after the other two).  Alerts can't to the best of my knowledge be triggered during the print pass.



0
 
LVL 6

Expert Comment

by:PWinter
ID: 10920425
Hi.

You can create a formula (evaluated "WhilePrintingRecords") that calls a user defined function if the page number > 1.
The user-defined function can fire up an alert.

Good Luck.
PW
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question