I'm creating a sales commissions report, where I need to be able to include a Bonus Summary at the bottom of the Detailed Report.
This Summary must include Amounts: Monthly, Quarterly and Annually.
I have the formulas written for the Bonuses in a Query by Sales Rep:
ex.) =IIf([NetSales]<=5000,([NetSales]*.02))
I can get the formulas to work if I imput the dates into the query manually, but I'd like to create a query that only queries the month of "January" for example for a specific year.
In addition, a query that only queries the Quarter for a specific year, and then the whole year.
I'm in a query nightmare and don't have the experience to get out. Your help is deeply appreciated.
This Summary must include Amounts: Monthly, Quarterly and Annually.
I have the formulas written for the Bonuses in a Query by Sales Rep:
ex.) =IIf([NetSales]<=5000,([NetSales]*.02))
I can get the formulas to work if I imput the dates into the query manually, but I'd like to create a query that only queries the month of "January" for example for a specific year.
In addition, a query that only queries the Quarter for a specific year, and then the whole year.
I'm in a query nightmare and don't have the experience to get out. Your help is deeply appreciated.