TotalBeginner
Technical User
On a table this command stores 2191 to the z_old_deleted variable.
COUNT FOR DELETED() TO z_old_deleted
However this code only produces a cursor with 1342 records:
SELECT RECNO() FROM order_header WHERE DELETED() INTO CURSOR cur_deleted READWRITE
No filters are running. The code is run one line after another. I do have an index on DELETED().
COUNT FOR DELETED() TO z_old_deleted
However this code only produces a cursor with 1342 records:
SELECT RECNO() FROM order_header WHERE DELETED() INTO CURSOR cur_deleted READWRITE
No filters are running. The code is run one line after another. I do have an index on DELETED().