If you want to display only alarms with comment 1 as Line 2
To display only alarms whose comment 1 contains the word "abnormal"
|
IsLike([CM1], "%Abnormal%")
|
The filter string is specified by enclosing it in double quotation marks "".
However, since the script specifications require that strings be quoted with double quotation marks, to assign a filter to a variable you need to use the Chr function as follows:
|
var filter;
filter = "[CM1]==" + ::Chr(34) + "Minor fault" + ::Chr(34); //Chr(34) returns double quotes
|
|