Thank you both for your time.
HTH - I also believe you are wrong. The fields are defnitely numeric
(formatted as currency as it happens) and, perhaps because the report source
is a union query, do contain empty/null values.
Allen - I do get a 'type mismatch' error when the field being sum'ed includes
empties, and not when I replace them with zeroes. Might it matter that the
report source is a union query, and the empties are being created by merging
numeric data with empty records using two single quotes ( '' )? Should I
use Null in the sequel instead?
Thanks,
David
Yes! The presence of an empty string in the source query forces Access to
treat the column as text. You must use Null instead of the empty string in
your expression.
Access can still misunderstand the data type if this is a calculated field,
so you may need to typecast the expression as described here:
Calculated fields misinterpreted
at:
http://allenbrowne.com/ser-45.html
In a UNION query, Access determines the data type of the column from the
first SELECT statement. If the first table does not have a particular field,
you typically use:
SELECT Field1, Null As Field2 FROM
in which case JET has no idea of the data type for Field2 so will always use
Text. If that is part of your issue, you can work around that with:
a) Swap the SELECTs around in the UNION, so the field type is present, OR
b) Use:
SELECT Field1, IIf(True, Null,0) As Field2 FROM
Field2 will always be Null, but the presence of the alternative is enough
for JET to figure out it's a number field.
(BTW, HTH is an acronymn for "hope that helps.")

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.
> Thank you both for your time.
>
[quoted text clipped - 14 lines]
> Thanks,
> David
David M - 31 Dec 2005 03:22 GMT
> SELECT Field1, IIf(True, Null,0) As Field2 FROM
>Field2 will always be Null, but the presence of the alternative is enough
>for JET to figure out it's a number field.
That's exactly what I needed to know. Thank you.
>(BTW, HTH is an acronymn for "hope that helps.")
By The Way, THANKS! I'm an idiot!