Hi All,
I would like to combine multiple IIf to one . below is the situation.
I have two colums Batch and Created user. Batch contains information regarding the module from which a transaction processed example AP,AR,CR,etc and when its through these subledger system the Createduser is blank. Now there are exceptions where the created user could be blank and that the reason i have to write this expression. When this crieteria matches i want to write "SYSTEM" in those blanks.
instead of writing an Iff statement like If batch="AP",if bacth =AR, so on and so forth can i write an statement like
IIF([Batch] Like IN(AR,AP,CR) And iif([CreatedUSER] ="","System",[Createduser]
basically i am saying if the crieteria of Batch = to those specific AP,AR,CR etc and if the created USER field is blank then input populate the word "SYSTEM" else populate the actual createuser field data.