* Situation 1 USE Customers LOCATE FOR CustomerId = 100 DELETEIn this case, all works fine. When I try to DELETE the record, VFP returns an error message! Great! :-)
* Situation 2 USE Customers LOCATE FOR CustomerId = 100 ? RLOCK() && It returns .T. DELETE INKEY(0) UNLOCKIn this situation, I just receive an error message after VFP runs UNLOCK... My problem is part of my solution is encapsulated in some class (Lock and Unlock records) and the other part (DELETE) doesn't... And I have to know If some error has occured when VFP DELETE the record...