> SELECT TempItems > SCAN FOR ProcBatch = .sProcBatchId > DELETE > ENDSCAN >* OR > DELETE FROM TempItems WHERE ProcBatch = .sProcBatchId > >>>User's a randmonly reporting a 'File is in use by another user' error
>>PROTECTED PROCEDURE _DeleteTempRecs() AS VOID >> >> WITH This >> >> SELECT TempHead >> DELETE FOR ProcBatch = .sProcBatchId >> >> SELECT TempItems >> DELETE FOR ProcBatch = .sProcBatchId >> >> SELECT TempDet >> DELETE FOR ProcBatch = .sProcBatchId >> >> ENDWITH >> >>ENDPROC >>