SET SAFETY OFF SET EXCLUSIVE on USE bookings IN 0 EXCLUSIVE &&I have tried it with and without the exclusive clause. Makes no difference. * USE ... IN 0 is good practice but be aware the table may not be opened in the current work area * unless there is no table open in it already * In fact, even if the current work area is empty, if there is a lower-numbered one also empty * it will be used instead * After a USE .. IN 0 command, either: * Follow it with SELECT Bookings, or * Use the IN clauses in commands to make sure you're working with the correct alias (e.g. ZAP IN Bookings below) IF ISEXCLUSIVE( "Bookings" ) ZAP IN Bookings * DELETE ALL * PACK ELSE MESSAGEBOX('Not opened exclusively') ENDIF SET EXCLUSIVE OFF SET SAFETY ONAs Help says, "Issuing ZAP is equivalent to issuing DELETE ALL followed by PACK, but ZAP is much faster."