Microsoft KB Archive/124720

{| = BUG: "File Is In Use" Error When Opening an Encrypted Table =
 * width="100%"|

ID: Q124720

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, version 2.6a

SYMPTOMS
A "File Is In Use" error is the result of an attempt to open a table for the second time when the table is encrypted (or included) in an application.

RESOLUTION
Do not include the table in the project, or copy the table in the application to a new file on the hard disk.

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Steps to Reproduce Problem
1. Create a new project.

2. Create and add a new program containing the following code to the

project:

CLOSE DATABASES USE customer IN 0 AGAIN ALIAS x  USE customer IN 0 AGAIN ALIAS y 3. Add a table named Customer to the project. 4. Build the project into an application.

5. Move the application to a directory other than where the data tables are

located, and execute it from within FoxPro. Additional reference words: FoxDos 2.60a buglist2.60a KBCategory: kbprg kbbuglist KBSubcategory: FxprgTable
 * }