SET SAFETY OFF SET EXCLUSIVE on IF USED("Bookings") USE IN Bookings ENDIF USE Bookings IN 0 EXCLUSIVE SELECT Bookings && make sure it's the correct work area RECALL ALL && these 2 commands in sequence assure that it is this process that is actually deleting all the records DELETE ALL PACK IF ISEXCLUSIVE( ) MESSAGEBOX("Table opened exclusive (of course!)") ELSE MESSAGEBOX("Not opened exclusively (this can't be!)") ENDIF SET EXCLUSIVE OFF SET SAFETY ON