PRB: "Record in Use Cannot Write" with @ ... SAY ... VERB

ID: Q117708

The information in this article applies to:

SYMPTOMS

When you are using the @ ... SAY <general field> 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:

MORE INFORMATION

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
   <general field> with the name of the general field:

      @ 1,1 SAY <general field> 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

Last Reviewed: June 26, 1995