Ah, that is the detail that I forget about. Really, I've never understood why you can't just put:
rnEmployees = rnEmployees + table.NoOfEmpField directly as the expression.
>- In the OnExit Expression of the data group footer band, put the following expression: _VFP.SetVar('rnEmployees', rnEmployees + Table.NoOfEmpField)
>
If I'd seen you hanging around, I wouldn't have bothered giving him my almost good answer. :)
Steve Gibson