Try to open the file exclusive. And trap for that error.
PF
>HI,
>
>Let suppose that station A open the file CUSTOMER.DBF in shared mode
>How can I verify from station B if this file is open. The command USED() is not efficient in this case
>
>Bye and very thanks
>
>Hubert
(On an infant's shirt): Already smarter than Bush