local lcSafety lcSafety=SET('SAFETY') && to 'remember' SET SAFETY OFF USE TABLE4 EXCLUSIVE && if you get an error here, the table is already open, either by you, or another user ZAP IF lcSafety='ON' SET SAFETY ON && to reset ENDIF>>Sorry, I was a little too quick, try this:
>>local lcSafety >>lcSafety=SET('SAFETY') && to 'remember' >>SET SAFETY OFF >>USE TABLE4 EXCLUSIVE && if you get an error here, the table is already open, either by you, or another user >>ZAP >>IF lcSafety='OFF' >> SET SAFETY OFF && to reset >>ENDIF>>>hi,