>Dear all ,
>
>While I wanna pack ,it give me error1708 ,can you tell me that how can I solve it ? Thanx
Jacky,
The error indicates that the file you are trying to open is alreadfy open in another work area. You should select the work area first before trying to open the table.
Try some code like this;
IF USED("Table1")
SELECT Table1
ELSE
SELECT 0
ENDIF
USE Table1 AGAIN ALIAS Table1 EXCLUSIVE
PACK