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: loop that counts occurrence in a atable
Oldest Post First
Newest Post First
Author
Message
Anna
Newbie
Joined: 24 Jul 2011
Online Status: Offline
Posts: 10
Topic: loop that counts occurrence in a atable
Posted: 08 Aug 2011 at 3:06am
Good Morning,
Another question
How do I loop trough a table and counts the occurrence of the 5 different inputs; PADL1, PADL2, PADL3, PADL4 and PADL5?
Thank you in advance,
Anna
IP Logged
comatt1
Senior Member
Joined: 19 May 2011
Online Status: Offline
Posts: 337
Posted: 08 Aug 2011 at 5:40am
Running Totals would be the easiest way, great a group by the input types, reset on change of group, and count the number of records.
Depending on what you want:
If you need more help I can provide it
option 1
Group by - table.inputype
at the end of each group footer have a running total with.
field to sum = unique value from table
type = count
eval
for each record
reset
change of group
Option 2 - have all totals in report footer
no group by (just suppress the detail)
rt1PADT
summ - unique value
type - count
eval
use form - itemtype = "PADL1"
Reset
Never
---
Do this for all types of inputs, and just put the running totals in footer
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
This page was generated in 0.016 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.