In the master form sale_id. depending on the sale_id collection records changed(in subform)(child form). 1 record,2 records or 0 records etc., when changing sale_id.
so I want, In the subform i have a field collection_amt. i want to sum collection amt and shown in main form.
i tried but whole collection amt is displayed. but i need only if saleid=8 collection amts like 334433,555,533 i need these sum only.
those sum is shown in mainform,
how
please help me