Advantage Error Guide
Problem: An SQL statement specified an incorrect argument for a scalar function.
Solution: Refer to the Advantage SQL documentation for information about the scalar function you are trying to use.