Fastone
Registered User.
- Local time
- Today, 09:32
- Joined
- Nov 21, 2002
- Messages
- 56
I need to do some calculations. These calculations will depend from several things.
Firstly, it depends if the business is new or already exsiting.
New business is business which has been achieved that current month.
Than, it depends on weather or not the broker worked alone or if he/she also used a marketer.
Here is the iif statement:
iif([Individual Policy Holders].[Date of first policy]=Date(), iif([Broker Company/Branch].[Company Number]=Any other Company Number, iff([Broker and Marketer Information].[Function]=Broker,0,15,0,05),0,20), iff([Broker and Marketer Information].[Function]=Broker,0,20,0,03))
I need to know two things:
1: How can the date criteria only be the month and the year and not the day (I have put in Date so far cause that is the only thing i could find).
2: This is probably a little bit more complicated.
If the business is new and the broker is used alone the commission will be 20%, otherwise it is split 15/5. Broker/Marketer info is in one table. Can anybody tell me how I should change the 'Any Other Company Number' to a correct input.
Anybody can think of doing this an easier way maybe?
Thanks
Stijn
P.S.: I was going to input this into the function I have already received.
Firstly, it depends if the business is new or already exsiting.
New business is business which has been achieved that current month.
Than, it depends on weather or not the broker worked alone or if he/she also used a marketer.
Here is the iif statement:
iif([Individual Policy Holders].[Date of first policy]=Date(), iif([Broker Company/Branch].[Company Number]=Any other Company Number, iff([Broker and Marketer Information].[Function]=Broker,0,15,0,05),0,20), iff([Broker and Marketer Information].[Function]=Broker,0,20,0,03))
I need to know two things:
1: How can the date criteria only be the month and the year and not the day (I have put in Date so far cause that is the only thing i could find).
2: This is probably a little bit more complicated.
If the business is new and the broker is used alone the commission will be 20%, otherwise it is split 15/5. Broker/Marketer info is in one table. Can anybody tell me how I should change the 'Any Other Company Number' to a correct input.
Anybody can think of doing this an easier way maybe?
Thanks
Stijn
P.S.: I was going to input this into the function I have already received.