G
Guest
I have a calculated field that I would like to have as a field in a table.
The calculation refers to fields in different tables and if I try to build a
form & subform from a query this becomes problematic.
My calculated field looks like this;
RoyaltyCalculation:
Switch(IsNull([Category]),0,[Company.Company]="Ackermans",[Sales]*0.08,[Company.Company]="Barloworld",[Sales]*0.1,[Company.Company]="Little
Number/Prestige",[Sales]*0.12,[Category]="Food",[Sales]*0.04,[Category]="Health & Beauty",[Sales]*0.06,True,[Sales]*0.13)
Any suggestions welcome.
Thanks.
The calculation refers to fields in different tables and if I try to build a
form & subform from a query this becomes problematic.
My calculated field looks like this;
RoyaltyCalculation:
Switch(IsNull([Category]),0,[Company.Company]="Ackermans",[Sales]*0.08,[Company.Company]="Barloworld",[Sales]*0.1,[Company.Company]="Little
Number/Prestige",[Sales]*0.12,[Category]="Food",[Sales]*0.04,[Category]="Health & Beauty",[Sales]*0.06,True,[Sales]*0.13)
Any suggestions welcome.
Thanks.