Thanks for trying but that didn’t work, let me try and explain my situation
better. My subform (fmOrdersDetails) consists of a field that calculates a
subtotal, it multiplies the [unitPrice] by the [quantity] and comes out with
a price for that item [subtotal], so I want it on the main form (fmOrders) to
calculate the total for that order which would be the total of all the
subtotals for that order.
Thank you sooo much!
Damian S said:
Hi Mariee,
Try something like this:
=dsum("nz([FIELDTOSUM], 0)", "TABLENAME_OF_SUBFORM_DATA", "[MAINFORMIDNAME]
= " & me.MAINFORMID)
Hope this helps.
Damian.
mariee4 said:
I have a subform which holds prices and i would like a grand total of these
prices in the "form" which contains the subform but all i seem to get is an
error. Not sure if i have made sense but fingers crossed! thanks