J
Jeff A via AccessMonster.com
hi,
i have a continuous subform that may or may not contain records depending on
a search criteria in the main form. on the footer of the subform, i have a
field that does a Sum on a number field. it works fine if there are records
in the subform. if there are no records, Sum returns null. i tried using Sum
with Nz but it doesn't work. what i would want is for that field to contain 0
if there are no records returned, so i can use it in calculations.
hope anyone could help. thanks.
i have a continuous subform that may or may not contain records depending on
a search criteria in the main form. on the footer of the subform, i have a
field that does a Sum on a number field. it works fine if there are records
in the subform. if there are no records, Sum returns null. i tried using Sum
with Nz but it doesn't work. what i would want is for that field to contain 0
if there are no records returned, so i can use it in calculations.
hope anyone could help. thanks.