Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get Distinct Value

Status
Not open for further replies.

longfellow

IS-IT--Management
Mar 28, 2002
75
IN
When i select a count(distinct(field.name)) from the database i get exactly one value returned. where as when i try to get the same in CR i get multiple values when i use
DistinctCount function. Why is this happening? what might be the reason? Can anyone help me regd this?
Thanking you in advance

with regards
longfellow
 
It can be due to a lot of things....tell us about how your report is set up....my crystal ball is fuzzy :) Jim
JimBroadbent@Hotmail.com
 
Sumary functions in CR work on the data set defined by the place you put the summary field.

So you put a DistinctCount sumary in the report footer, and it does a distinct count for the entire report. Place it in a group footer, then it is jsut for that group.

Is that what you are asking about? Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top