Totalling
Posted: Wed Dec 06, 2006 7:09 am
Hi all____can someone point me in the right direction please.____Master table is customer which has grouping on sales_per + sales_type____There is a a relationship to a second table Cust_prod and third table Product ____In product there is the product code and discription and a logical flag that defines if the item is a capital item or not____on the record line there is a field from cust_prod which i need to total based on the logical flag held in product. In other words if the flag in product is .t. then the Corresponding items in cust_prod are part of the total, if it^s .f. then there not____Any ideas gratefully received :-)____Regards____Tim