this code will work whether the file is open or not...
USE IN SELECT("sub")
>I use the following, to use the table in my program:
>sub is the table name:
>********
>USE sub IN 0
>**********
>
>After i use the above code, first time it is ok and when next time when i try to use the same i get the message "File is in USE"
>
>Can you please tell me how i can release the file after in use the file in my program, so next time when i go, the program should be able to use.
>
>Thank you very much.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown