Microsoft KB Archive/117708

{| = PRB: "Record in Use Cannot Write" with @ ... SAY ... VERB =
 * width="100%"|

ID: Q117708

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6

SYMPTOMS
When you are using the @ ... SAY VERB 0 command to update an OLE object in a database file that was opened as shared, the error message "Record in use cannot write" will occur when you return to FoxPro from the server application after choosing Update.

WORKAROUNDS
There are two workarounds to this problem:

 Open the table exclusively. -or- Use the MODIFY GENERAL command. When the general field comes up, press ENTER or double-click the mouse button to activate the server program. When you return to FoxPro, the general field will be updated.

Steps to Reproduce Behavior
1. Open a table with a general field shared and browse it.

2. Insert a Paintbrush object in the general field and close the Browse

window. 3. From the Command window, issue the following command, replacing with the name of the general field:

@ 1,1 SAY VERB 0 4. Modify the Paintbrush object. 5. From the File menu in Paintbrush, choose Exit And Return To FoxPro.

The "File in use cannot write" error will appear when Paintbrush closes and you return to FoxPro.

Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 ole errmsg err msg object linking and embedding KBCategory: kbole kbprg kberrmsg kbprb KBSubcategory: FxinteropOle
 * }