A
Angey13
My tables are designed as follows:
Table 1
dtmDate (Primary Key)
strMeter (Primary Key)
curPostageAdd
curPostageUsed
lngPieces
Table 2
dtmDate (Primary Key)
lngUPS
lngFedex
and it goes on and on...This is a parameter query with many columns and
several expressions. I'll try to be brief: Table 1 has 13 records with the
same date, Tables 2 - 5 only have 1 record per date. My subreport within my
report looks great, but my YTD totals are multiplied by 13. I tried dividing
each field by 13, as well as my expressions, but my numbers were slightly
off.
Let's say I want the YTD total for UPS pieces metered on 10/1/04, the over
all total is 21 pieces, Access displays 21 pieces 13 times and when I sum the
field I get 273. I only want 21. Does this make any sense?
Table 1
dtmDate (Primary Key)
strMeter (Primary Key)
curPostageAdd
curPostageUsed
lngPieces
Table 2
dtmDate (Primary Key)
lngUPS
lngFedex
and it goes on and on...This is a parameter query with many columns and
several expressions. I'll try to be brief: Table 1 has 13 records with the
same date, Tables 2 - 5 only have 1 record per date. My subreport within my
report looks great, but my YTD totals are multiplied by 13. I tried dividing
each field by 13, as well as my expressions, but my numbers were slightly
off.
Let's say I want the YTD total for UPS pieces metered on 10/1/04, the over
all total is 21 pieces, Access displays 21 pieces 13 times and when I sum the
field I get 273. I only want 21. Does this make any sense?