read the help article on those functions. they give the syntax. e.g., they have 3 parts:
Code:
(field, table, criteria)
remember that MS documentation specifies optional code and syntax by enclosures in [].
example - look up max dep number for last month, the mo of november, and give appropriate NEW dep number:
Code:
=iif(dcount("deposit", "table", "[datefield] > #10/31/2010#
AND [datefield] < #12/1/2010#") = 0, 1,
dmax("deposit", "table", "[datefield] > #10/31/2010#
AND [datefield] < #12/1/2010#") + 1)
does that make sense?