"MLH" <CR**@NorthState.netwrote in message
news:vt********************************@4ax.com...
On Mon, 19 Nov 2007 18:38:41 -0500, MLH <CR**@NorthState.netwrote:
>>I put the following
Count([Item]) From tblPHPDeveloperDoItems Where [Resolved] = True
<snip>
I can do this...
=CStr(Count([Item])) & " Do-Items. " &
CStr(DCount("[Item]","tblPHPDeveloperDoItems","[Resolved] = True")) &
" Resolved Do-Items. "
But I was hoping to find out whether it could be done with Count
rather than DCount.
It's not clear to me what you expected to do... nor details of what you
have. Also, what do you mean when you say "put the following . . . in the
Report Footer"? If you expect to execute an SQL statement from a Control
Source, that won't work. On the other hand, you can have a calculated
Control, wiht a Control Source including a DCount domain aggregate
statement, which can be executed. That may be why the second one worked.
If both the fields Item and Resolved are in Controls on your Report, you may
not have to resort to a DCount.
Larry Linson
Microsoft Access MVP