I am trying to put together a simple variable called National Accounts that will assign company names to a specific Siebel account key. There are 13 specific keys that need to be assigened a name, all the rest would go under independent. I’m using the function below. Using the InList command I can get everything but independent. I try to use Not InList and get an error message saying there is a missing ‘;’ before argumnet in Function ‘If’ at position 778(error WIS 10062. The word ‘Not’ is highlighted but as far as I can tell the syntax is correct. I have removed the space between Not and InList with the same results. I’ve seen other entries on here where InList and Not InList are working in Webi and need some help on how to proceed.
Hi All. Thanks for your help. One of our consultantswas able to track down the problem and get the correct syntax from the Business Objects support site. The syntax that works in the statement is:
Give or take a few parentheses at the end. Here’s the note that gave him what he needed to figure it out:
Note
It is the combination of object + InList that returns a boolean value, not InList alone. You must be aware of this when combining InList with other boolean operators. For example, you use NOT like this:
NOT ([object] InList(list) )
The syntax [object] NOT InList(list) is incorrect and returns an error.