DBFCDX/1051 Scope Type Mismatch
Explanation: An attempt was made to use an incorrect type for a
scope. For example, if you have a numeric key and attempt to use a date
for a scope, you will get this error.
Action: Correct the syntax.