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 Help
Author
Message
Neill
Newbie
Joined: 17 Mar 2011
Online Status: Offline
Posts: 1
Topic: Formula Help
Posted: 17 Mar 2011 at 10:48am
I have 2 formulas.
1st one is in the Report Header:
global numbervar var := 2;
2nd one is in the Page Header;
global numbervar var;
global numbervar temp := 1;
if temp > var then
"higher than 1"
else
"lower or equal to 1"
However the output of formula 2 in the Page Header is displaying the text:
"higher than 1"
What am I doing wrong?
Thanks in advance.
Neill
IP Logged
lockwelle
Moderator
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 18 Mar 2011 at 2:52am
var is a reserved word in CR. Try changing the name. Otherwise the logic seems correct.
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.