Re: Results double when printing
- From: "Duane Hookom" <duanehookom@xxxxxxxxxxxxxxxxx>
- Date: Thu, 12 May 2005 08:14:51 -0500
I would think that you could create a totals query and use it as the record
source of a subreport. This would be much more efficient.
Place the subreport in the "Quarter" footer and link master/child on the
"Quarter" calculation.
--
Duane Hookom
MS Access MVP
--
"Steve Albert" <SteveAlbert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2875C8F9-E4EA-47F0-B8DA-9AE11A81D961@xxxxxxxxxxxxxxxx
> Duane,
>
> How else would you sum values in a report where the text boxes are
> unbound.
> I thought you could not sum controls in a report?
>
> In a report, which is based on a query, I have a field called
> [TypeofComplaint]. I have other fields called [EnrollNoSchools],
> [PlacementNoSchools], [APENoSchools] , and [VacancyNoSchools], which are
> numbers. In the report, I want to have the total number of each of the
> fields
> for each [TypeofComplaint]. I can do it for only one of them, but I am
> having
> trouble doing it for all.
>
> The report would look like this, grouped by Quarter and then Type of
> Complaint:
>
> Q1-2005
>
> "Type of Complaint" "Number of Schools"
> Enrollment 14
> Placement 5
> APE 3
> Vacancy 4
>
> Total 26
>
> Thanks.
>
> - Steve
>
>
> "Duane Hookom" wrote:
>
>> You probably are not setting values back to zero in the On Print of your
>> report header section.
>>
>> Are you sure you need code to sum your values? I have rarely seen reports
>> where this is necessary.
>>
>> --
>> Duane Hookom
>> MS Access MVP
>> --
>>
>> "Steve Albert" <SteveAlbert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:A9EF52A9-E722-46EC-9A35-E6092F0E91C2@xxxxxxxxxxxxxxxx
>> >I have a Grand Total in the Report Footer of my report that is found
>> >from
>> > "summing controls calculated by functions". This is the method I used
>> > from
>> > Microsoft's knowledge base, article id 208850. It all works fine,
>> > except
>> > for
>> > the problem below.
>> >
>> > When I use Print Preview, it calculates just fine. However, when I
>> > the
>> > report, the Grand Total doubles in value. This does not happen to the
>> > Group
>> > Totals.
>> >
>> > Can anyone help?
>> >
>> > - Steve
>>
>>
>>
.
- References:
- Results double when printing
- From: Steve Albert
- Re: Results double when printing
- From: Duane Hookom
- Re: Results double when printing
- From: Steve Albert
- Results double when printing
- Prev by Date: How do you beat the 22" high report limitation in Access
- Next by Date: Re: How do you beat the 22" high report limitation in Access
- Previous by thread: Re: Results double when printing
- Next by thread: Re: Results double when printing
- Index(es):
Relevant Pages
|
Loading