Error 38: Range expected The syntax used in this statement requires that you specify a range of values. Specify a range of values with two periods between the lower and upper range limits. For example, 1..5 specifies the values 1, 2, 3, 4, and 5. Examples of keywords that use ranges include CASE and ARRAY.