Solved

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

Posted on 2004-04-26
5
544 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now