if !used("test.dbf") use test.dbf in 0 shared alias a_alias endif if !used("test1.dbf") use test1.dbf in 0 shared alias a_alias1 endif> the reason for the error is because the file is still being seen as being used exclusively. i want the alias to either be used shared or to be closed when done. i tried the command "use" after the end scan statement to close the work area; but even with that, the file was seen as being used exclusively. the program works. i just cannot get the work area to recognize the alias as shared or close alias from the work area after excecution. thanks.
use in a_alias use in a_alias1