hishamaboualfa
New member
- Local time
- Today, 15:11
- Joined
- Dec 31, 2015
- Messages
- 9
are those combobox from different fields? if so your controls source:
=iif([fieldCombo1="Debit ESM",[D/O],0)+IIF([fieldCombo2]="Debit ESM",[Freight],0)+IIF([fieldCombo3]="Debit ESM",[Bayan],0), ....
i hope you figure it out.
I shudder when I see tables called 2016 and invoices-16...
This is very badly stored data, and while Arnelgp is fixing your immediate issues he's not helping you sort out your data into a long term usable format.
As Plog stated you need to store your data correctly, then you won't be jumping through hoops to get your results easily and correctly.