Add how? Are you saying you want the sum of the four fields?
=DSum("Nz([08rt], 0) + Nz(]07rt], 0) + Nz([06rt], 0) + Nz([05rt])",
"Collections", "DateValue([Date]) = " & Format(Date, "\#yyyy\-mm\-dd\#"))
Note that you should rename your field from Date: that's a reserved word,
and should never be used for your own purposes. For a comprehensive list of
names to avoid (plus a link to a free utility that will check your
application for compliance), see what Allen Browne has at
http://www.allenbrowne.com/AppIssueBadWord.html
More important, though, is that fact that your field names (05rt, 06rt, 07rt
and 08rt) implies that your tables aren't properly modelled. That looks
suspiciously like a repeating group, which means that your tables don't even
comply to 1st normal form.
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
Gator said:
How could/should I add 07rt, 06rt & 05rt to the following control source
property of the textbox?
=DSum("[08rt]","Collections","Year([Date]) = " & Year([Date]) & " And
Month([Date]) = " & Month([Date]) & " And Day([Date]) = " & Day([Date]))
thanks