T
TC
I think (from memory) that in a report, you can not refer to a field in the
recordsource of the report, unless that field is explicitly bound to sa
control. So in the one that does not work, make sure that the two name
fields are each bound to an invisible textbox (or whatever). This is unlike
the case of a Form, where you can refer to >any< fields in the form's
recordsource, from a calculation such as yours, >without< having to bind
them to a control on the form.
HTH,
TC
(off for xmas)
recordsource of the report, unless that field is explicitly bound to sa
control. So in the one that does not work, make sure that the two name
fields are each bound to an invisible textbox (or whatever). This is unlike
the case of a Form, where you can refer to >any< fields in the form's
recordsource, from a calculation such as yours, >without< having to bind
them to a control on the form.
HTH,
TC
(off for xmas)