Solved

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

Posted on 2004-04-26
5
550 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

736 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