Hello,
I have following tables:
tbl Customer PK[CustomerID], FName, LName, etc.
tbl Inventory PK[ItemID], Brand, Type, Price,etc.
EX Inventory table entries
103,Kool Water,JUICE,$3.65
105,Rolling Spring,SODA,$3.50
I also have table that links Customer and Inventory table
Order table PK[InvocieNumber], PK[ItemID], FKCustomerID, Date, etc...
I have form that displays Customer Info and Orders Information
For Specific order they might be different items. I would like to calculate different totals based on different food type. For example, Totals for Type JUICE and Totals for SODA. Tried following without any success :
=IIf(([Type])="SODA",Sum([
line item total]),"") ---[line item total] - total for each item...
I would really appreciate any advice
Thank YOU.
Start Free Trial