BPM syntax - ABL

Thanks much – worked great!

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of jckinneman@...
Sent: Monday, March 03, 2014 2:45 PM
To: vantage@yahoogroups.com
Subject: [Vantage] RE: BPM syntax - ABL

 

 

The lookup function is what you can use.
If Lookup(ttJobOper.OpCod, "6,21,PICK", ",") > 0 then
do:

end.
Jim Kinneman
Encompass Solutions, Inc

I am writing a BPM and don't know the syntax for the IN statement.  The code below is not working. 
What is the correct syntax for a list of values.

Thank you

IF ttJobOper.OpCode in ('6', '21', 'PICK') then DO:

End.
The lookup function is what you can use.
If Lookup(ttJobOper.OpCod, "6,21,PICK", ",") > 0 then
do:

end.
Jim Kinneman
Encompass Solutions, Inc