The second URL you posted gives the solution ...
<quote>
One of the easiest workarounds is to create a User Defined Function that
calls RecordCount for you. You can put this in a module.
Function RecordCount(frm As Form) As Long
RecordCount = frm.RecordsetClone.RecordCount
End Function
Then change the three expressions on the Project form that refer to
RecordsetClone to call this function instead.
Broken Expression:
=IIf([Project Expenses
Subform].[Form].[RecordsetClone].[RecordCount]=0,0,[Project Expenses
Subform].[Form]![Total Expenses])
Fixed Expression:
=IIf(RecordCount([Project Expenses Subform].[Form])=0,0,[Project
Expenses Subform].[Form]![Total Expenses])
</quote>
I've posted a copy of the template that implements this solution for the
'Projects' and 'Print Invoice' forms at the following URL. Open either of
those two forms in design view and look at the control sources of the
controls that have control source properties beginning "=IIf(RecordCount
....".
The RecordCount function itself I've added to the 'Global Code' module.
Note that this is just an example to illustrate how to implement this fix -
I make no other promises for this download.
http://brenreyn.brinkster.net/01018461.mdb
Note to anyone reading this in the archives later - I make no promise that
this download will continue to be available. Please don't e-mail me months
or years from now asking what happened to it, as the answer will almost
certainly be: 'I don't remember'!