Re: Report summing / table design question
- From: "George Nicholson" <GeorgeNJunk@xxxxxxxxxxx>
- Date: Tue, 13 Feb 2007 14:06:16 -0600
Sounds like you can probably get the results you want from your current
setup by using a CrossTab query. Use AccountCategory (i.e., AnimalType) as
your column value and Sum of CalculatedField for Value (not sure what you
can use as a RowHeading, not enough information). It would give you a result
like:
(xxxx) Dogs Cats Birds
(????) 250 200 300
You could then use this query as the basis for your report. Note that (as
far as this query is concerned) Dogs, Cats & Birds are field names, making
it easy to place the results onto a report in a horizontal fashion if you
want.
Or,
in a report textbox use the following as the ControlSource:
= DSum("CalculatedFieldName", "Some Table or Query Name", "[Animal type
Category] = 'Dogs'")
Repeat as necessary.
HTH,
"Joe C" <JoeC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E7496CA8-85F1-45FE-9913-C345FE9D0C17@xxxxxxxxxxxxxxxx
Hello,
I am looking to create a report down the road where sums of categories are
created.
I currently have a table with a field that is populated by a calculation
in
a query. It is further categorized by an account. For example:
2 dogs 100
1 cats 200
3 birds 300
3 dogs 150
If on a report I need to see:
dogs 250 cats 200 birds 300
How would I do that? Should I have different fields in the Table's design
or
in the Report's design?
JC papi
.
- Follow-Ups:
- Re: Report summing / table design question
- From: Joe C
- Re: Report summing / table design question
- Prev by Date: Re: sorting addresses by odd and even numbers
- Next by Date: Re: Report summing / table design question
- Previous by thread: Using & in a report label
- Next by thread: Re: Report summing / table design question
- Index(es):
Relevant Pages
|