Setrange for option

Hallo,

In the case of choosing among options, how do you write it?

The following gives a syntax error:

ResLines.SETRANGE(Status,ResLines.Status::Tentative|Terminated);

Thanks.

ResLines.SETFILTER(Status,’%1|%2’,ResLines.Status::Tentative,ResLines.Status::Terminated);