You can try a little low level trick to see if it is open by ANYBODY,
i = fopen( fully qulified file name ,2)
if i < 0
messagebox('File is already open')
else
fclose(i)
Use ...
endif
Glenn
>Hi,
>I want to check a table whether it is open or not before
>open it, how to check it ?
>
>Please advise.
>
>Derek