dear frends
i've a master table "purchase_orders" which has a quantity column
and a detailed table "styles" containing a quantity column
now the quantity column in "Purchase_order" is the sum of all the quantities in the "styles" relavant to that Purchase Order in the styles table.
i want the PO quantities to be updated with the summ of all the styles quantities on either Insert, update or delete.
plz help me
thanks in advance.