RonnieDobbs
MIS
First off, I am new to this site and I think I am asking the same thing in differnt ways. I hope this is clearer:
I have a query from one table which gathers office names, fee, off limits and ID of certain assignments. From this I have made a report, which looks like the folowing
query looks the same)
ID Office Fee Off limits
12 japan std non-std
13 germany non-std std
.. .... std std
... ..... non std non std
In the header I have four textboxes that perform total calculations. There could be 4 different situations of fees and off limits for each office, and I need to calculate this and place in header to fit on a single page.
here is the code I am using for each:
=Sum(IIf([offlimits]="std" And [fees]="standard" And [office]="london",1))
=Sum(IIf([offlimits]="non std" And [fees]="non-standard" And [office]="london",1,0))
=Sum(IIf([office]="london" And [offlimits]="non std" And [fees]="standard" Or [fees]="none",1,0))
=Sum(IIf([office]="london" And [offlimits]="non std" And [fees]="standard" Or [fees]="none",1,0))
these disply the totals for london office. However, when I create a new query for just london, not all offices the numbers are slightly different. So the report numbers are off to the actual by a few? ANYone know why??? or does anyone have suggestion how to get these totals on a report?
THANKS
I have a query from one table which gathers office names, fee, off limits and ID of certain assignments. From this I have made a report, which looks like the folowing
ID Office Fee Off limits
12 japan std non-std
13 germany non-std std
.. .... std std
... ..... non std non std
In the header I have four textboxes that perform total calculations. There could be 4 different situations of fees and off limits for each office, and I need to calculate this and place in header to fit on a single page.
here is the code I am using for each:
=Sum(IIf([offlimits]="std" And [fees]="standard" And [office]="london",1))
=Sum(IIf([offlimits]="non std" And [fees]="non-standard" And [office]="london",1,0))
=Sum(IIf([office]="london" And [offlimits]="non std" And [fees]="standard" Or [fees]="none",1,0))
=Sum(IIf([office]="london" And [offlimits]="non std" And [fees]="standard" Or [fees]="none",1,0))
these disply the totals for london office. However, when I create a new query for just london, not all offices the numbers are slightly different. So the report numbers are off to the actual by a few? ANYone know why??? or does anyone have suggestion how to get these totals on a report?
THANKS