>One form(the dataenvironment opens the 'x' table, shared) calls the second form(with the same dataenvironment).Now I need to issue a pack command:so, I select a 'x' table with this statement:
>local oldalias
>oldalias=alias()
>use
>select 0
>use &oldalias exclusive... (error)
>'file is in use'. But I've just closed the table!
>
>Some suggestion? Thanx
Francesco,
First, use the DataSession choice (in the Windows menu pad) to see if the table is open in any other area.
Second, use the debugger to make sure you are in the correct SELECT area when you issue your use.
Third, how are you matching data environments in your two forms? Could there be a problem there?
HTH
Barbara