V11,AccessDB This is an example of what my report looks like now.
GH1-Salesperson1-Mikey
GH2-TrailerType-LQ
Detail-Deal# Gross Commissions
GH1-Salesperson1-Howard
GH2-TrailerType-LQ
Detail-Deal# Gross Commissions
I have this report built and it works great, but now they've discovered that sometimes the Salespeople share deals and they need to be split between them. Each salesperson has a unique sales#. If only one person has the deal, the number is located in SP1 table, if there is a second person, theirs is in SP2. I can get the amouunt to split on the first person but it doesn't show up on the second. Also it doesn't show up on any deal that doesn't have a second person. The formula I'm using is:
if {sp1}={sp2} or {sp2}="" then
{retail} else
({retail}/2)
I'm thinking that might rather simplistic for what I want to do.
GH1-Salesperson1-Mikey
GH2-TrailerType-LQ
Detail-Deal# Gross Commissions
GH1-Salesperson1-Howard
GH2-TrailerType-LQ
Detail-Deal# Gross Commissions
I have this report built and it works great, but now they've discovered that sometimes the Salespeople share deals and they need to be split between them. Each salesperson has a unique sales#. If only one person has the deal, the number is located in SP1 table, if there is a second person, theirs is in SP2. I can get the amouunt to split on the first person but it doesn't show up on the second. Also it doesn't show up on any deal that doesn't have a second person. The formula I'm using is:
if {sp1}={sp2} or {sp2}="" then
{retail} else
({retail}/2)
I'm thinking that might rather simplistic for what I want to do.