TraciAnn --
Ah -- this does make more sense! (but .. I was nearly ready to send this
post anyway; so I just moved it over to this reply instead of the
earlier post <g>)
I spent a bit more time thinking this through after I saw Gina's post
....
Going back to John's suggestion, add another control:
Try the following:
-- (done) add another grouping level based on Tickets and show the group
header
-- (done) set the visible property of the group header to false (no)
--add a textbox control to the group header
-- Name: txtCountGroupTickets
-- Value: =1
-- Running Sum: OverGroup
-- In the [CreatedDAte] group footer, change the textbox control
[Tickets] and set its control
source to =[txtCountGroupTickets]
see if that gets you what you're after!
--
Clif
TraciAnn said:
Ignore my previous post. I was testing another feature in another
report and
accidently entered code into this report causing the erroneous results
(duh).
Here is what I am getting using your suggestion. Keeping with the same
scenario
I have 2 Grouping levels: 1st on [CreatedDAte] by Day, 2nd on
[TicketID]
which is hidden with a single text box control txtCountTickets with a
value =
1.
In the Report Footer is a Control = [txtCountTickets] which produces
the
Correct Total I am looking for.
As the example shows. The [CreatedDate] Header produces a total count
of ALL
TicketID's per day, on the Many side of the relationship of
tbleTickets &
tblParts. On the same line as my other information for each day, I
need a
count of unique TicketID's just like the [txtCountTickets] is giving
me.
When I add a control with =txtCountTickets in the DateCreated Header I
get
the numbers in the last column of the Example.
Example:
------------------------------
Date Tickets Parts txtCountTickets
3/2/09 116 116 1
3/3/09 41 41 76
3/4/09 61 61 104
3/5/09 50 50 134
3/6/09 82 82 174
Total 350 350