Error: variant expression is not of type INTEGER. What to do: use integer expression.