3318 Mismatched number of parentheses in the index while expression

Advantage Error Guide

Problem: An error occurred in the Advantage Expression Engine parser. The while expression contains a mismatched number of parentheses.

Solution: Verify the parentheses are matched and are in the correct position.