Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: If Then Question
<< Prev
Page
1
2
of 2
Author
Message
hugo69
Groupie
Joined: 15 Feb 2010
Online Status: Offline
Posts: 53
Posted: 09 Mar 2010 at 1:30pm
What if I wanted to place it in the group footer, to get a count of how many for each inmate?
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 09 Mar 2010 at 1:34pm
Not sure. You mean you have to count every instance per inmate where there is an opening record of 'HELP' and no closing record of 'Stop'?
IP Logged
hugo69
Groupie
Joined: 15 Feb 2010
Online Status: Offline
Posts: 53
Posted: 09 Mar 2010 at 1:49pm
Yes... and the above RT did not work.
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 09 Mar 2010 at 2:16pm
The RT was to count inmates,
To count instances per inmate try this to see if it works for you:
FOrmula as "InmateOpenCount"
if field1='Help' then 1 else if Field2= 'Stop' then -1 else 0
Sum this formula field at the Group inmate level (and place on the group inmate footer.
Does it give you the # you want?
Edited by DBlank - 09 Mar 2010 at 6:11pm
IP Logged
hugo69
Groupie
Joined: 15 Feb 2010
Online Status: Offline
Posts: 53
Posted: 09 Mar 2010 at 4:24pm
I think that may work!
IP Logged
<< Prev
Page
1
2
of 2
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.