Fastone
Registered User.
- Local time
- Tomorrow, 00:26
- Joined
- Nov 21, 2002
- Messages
- 56
HELP with iif URGENT
The first problem has to do with an iif function I am trying to figure out. I have asked this question before but the answer didn't work out for me.
iif(format([Individual Policy Holders].[Date of first policy],”mm/yy”)=format(Date(), “mm/yy”),
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))
This is my quite elaborate iif function.
iif([Broker Company/Branch].[Company Number]=Any other Company Number,
Would I be able to change this part (it will come into a module) to something like a Lookup function (like in excell). I have just tried to put in lookup but I get an error and don't really now how to get around having to define specific fields.
Look here for some more information:
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=38398
Thanks
P.S.: If you would like to see a copy of the DB go to
www.geocities.com/stijn_vermeulen/
Here you will find Two copies (2000 and 97) of the DB.
Edit: for those of you who read this topic before, I solved the problem with the combo boxes.
The first problem has to do with an iif function I am trying to figure out. I have asked this question before but the answer didn't work out for me.
iif(format([Individual Policy Holders].[Date of first policy],”mm/yy”)=format(Date(), “mm/yy”),
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))
This is my quite elaborate iif function.
iif([Broker Company/Branch].[Company Number]=Any other Company Number,
Would I be able to change this part (it will come into a module) to something like a Lookup function (like in excell). I have just tried to put in lookup but I get an error and don't really now how to get around having to define specific fields.
Look here for some more information:
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=38398
Thanks
P.S.: If you would like to see a copy of the DB go to
www.geocities.com/stijn_vermeulen/
Here you will find Two copies (2000 and 97) of the DB.
Edit: for those of you who read this topic before, I solved the problem with the combo boxes.
Last edited: