Advantage Error Guide
Problem: The IN clause in the SQL statement contains an invalid value. For example, "SELECT * FROM mytable WHERE field IN (2*3)" is not valid.
Solution: The values in the IN clause must be simple constants, parameters, or the USER literal.