hI, When you use a FIND EXCLUSIVE-LOCK, you must enclose within a transaction block.Try the following code attached to Sports2000, uncomment the block DO TRANSACTION.
DEFINE VARIABLE hBuf AS HANDLE.
DEFINE VARIABLE lok AS LOGICAL.
CREATE BUFFER hBuf FOR TABLE 'Customer'.
FOR EACH Order...