The DCount() is probably better than looping through the records of the
subform. It works reliably, which may not be the case for the subform (e.g.
if filtered, or timing issues if it were not loaded yet.)

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
>I have a record for each contractual document (let's leave it general,
>please). Actions are generated against that document. When all actions have
[quoted text clipped - 19 lines]
> Doesn't work, I forget specifically why now. Anyway, the DCount() works,
> but I'm hoping someone might have a faster way to do this.
David Portwood - 12 Jan 2008 18:28 GMT
Thanks, Allen. This saves me time trying out things that won't work.
> The DCount() is probably better than looping through the records of the
> subform. It works reliably, which may not be the case for the subform
[quoted text clipped - 23 lines]
>> Doesn't work, I forget specifically why now. Anyway, the DCount() works,
>> but I'm hoping someone might have a faster way to do this.