Ali, try something like
IF USED(MyFileAlias) .AND. DBF(MyFileAlias) = MyPath
>Hi Every Body,
>
>I would like to check whether a picked file is being used in the program. It is not possible to put both path and file name in the
Used(path\MyFile)
function. What would you recommend?
>
>Thank you,
>Ali
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.