I am not sure if a Dsum is correct, perhaps even a sum would work. Text454
and Text455 are equations that I have created to determine a specific
length
of time. Allocate1 is located in a In Detail section by Date Header. I
am
inputting this information at the footer of the report. [In by Day] is
the
field that shows each date. What is the advantage of renaming the fields?
Text454 and Text455 are not controls on the report.
=IIF([In by Day] is Between [Text454] AND [Text455], sum([Allocate1]),)
I'm looking for something like this that will actually add up the range,
however am not quite finding a solution. Thanks.
Duane Hookom said:
Change the names of Text454 and Text455 to something like: txtStart and
txtEnd.
Then, tell us something about your "domain". Where can we find
[Allocate1]
and [In By Day]? Are they found in your report's record source?
Are Text454 and Text455 controls on your report?
--
Duane Hookom
MS Access MVP
--
=DSum([Allocate1],[In By Day] Between [Text454] And [Text455])
I want the sum of [allocate1] by date, in the specified dates ranging
[Text454] through the date [Text455]. My equation doesn't work, how
can I
get it to total?