1020 Data Type Error or Work Area not Indexed

Advantage Error Guide

Problem 1: An invalid data type was assigned to a field in a table.

Solution 1: Correct the program. If assigning a value to a field in a table from some variable, make sure the variable has been initialized (i.e., is not NIL).

 

Problem 2: An operation, such as a Seek, was performed in the work area, but there was no index active.

Solution 2: Make sure that an index has been made active before performing the operation.