A
apex77
Here is my situation:
I am creating a database to calculate commissions for salespeople. Each
salesperson gets 4% commission until they reach what is called a gate (a
fixed amount). Once their commission has reached this gate amount, they get
8% of everything over the gate amount. I have tables called salesperson, gate
and sales.
Salesperson table just lists each salesperson
Gate lists the gate for each salesperson
Sales lists the amount sold.
I know this may be vague, but if anyone has an idea how to write a query
that calculates 4% of [sales]![totalinvoice] up to $6000 and everything over
$6000 is calculated at 8% that would be great. Thanks for the help.
I am creating a database to calculate commissions for salespeople. Each
salesperson gets 4% commission until they reach what is called a gate (a
fixed amount). Once their commission has reached this gate amount, they get
8% of everything over the gate amount. I have tables called salesperson, gate
and sales.
Salesperson table just lists each salesperson
Gate lists the gate for each salesperson
Sales lists the amount sold.
I know this may be vague, but if anyone has an idea how to write a query
that calculates 4% of [sales]![totalinvoice] up to $6000 and everything over
$6000 is calculated at 8% that would be great. Thanks for the help.