>The cursor as two index tags:
>
>
>index on GROUP_BY + PADL(TASK_NO,6,"0") TAG GROUP_TASK
>index on GROUP_BY + GROUP_ID + STR(WO_NUMBER,6) + REC_ID TAG FOR_PRINT
>
>
>But another thing I found is I added a bunch of fields to the cursor using ALTER TABLE, after I created the cursor. Could it be it?
Are you using READWRITE in the last SELECT? It'll genearte the error if you do.
--sb--