The following example uses ON NETERROR in case the Clients table cannot be opened exclusively:

SET PROCEDURE TO PROGRAM(1) ADDITIVE
ON NETERROR Do NetErr
USE Clients EXCLUSIVE
* If Clients cannot be opened exclusively then
* the subroutine NetErr will be called.
PROCEDURE NETERR
WAIT "Multi-user problem"