Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: formula not working in Page footer
Author
Message
malraff
Newbie
Joined: 26 Aug 2010
Online Status: Offline
Posts: 7
Topic: formula not working in Page footer
Posted: 04 Feb 2013 at 5:03am
hi all
i have a simple formula that will not give the desired output when in the page footer
if {STOCK_CODE} in ("301258""301263""201236""301378")
then "message 1"
else "message 2"
it returns with message 2 despite the criteria being met, as soon as i move the formula to a detail or group header it behaves correctly!
anyone any ideas? i have formulas in other report page footers and they work fine!
mal
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 04 Feb 2013 at 5:20am
when you put it in the footer it is looking at the value in the last detail row of that specific page.
do you mean that you want to show message 1 or 2 based on if that page has any row that meets the above condition?
if so use shared variable formulas.
IP Logged
malraff
Newbie
Joined: 26 Aug 2010
Online Status: Offline
Posts: 7
Posted: 04 Feb 2013 at 6:16am
any row that meets the criteria
shared variable formulas - not sure about these will have to do some research...
IP Logged
malraff
Newbie
Joined: 26 Aug 2010
Online Status: Offline
Posts: 7
Posted: 05 Feb 2013 at 3:52am
shared variables worked a treat!
cheers dblank!
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.