Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'USE' does not close the table?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00116447
Message ID:
00116661
Views:
13
>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
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform