Microsoft KB Archive/115188

= ACC2: Changes to Linked Object Do Not Update Source Properties =

Article ID: 115188

Article Last Modified on 11/6/2000

-

APPLIES TO


 * Microsoft Access 2.0 Standard Edition

-



This article was previously published under Q115188





SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.

If you change the source of a linked object on a form using the Links dialog box, the SourceObject and SourceItem properties for that object will not be updated, although the object itself will be updated correctly.



CAUSE
The SourceObject and SourceItem properties are used only to create new objects or update existing objects. They are not meant to reflect an object's current description.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Access version 2.0. 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) In any database, create a new form.
 * 2) Place a bound object frame on the form.
 * 3) From the Edit menu, choose Insert Object.
 * 4) Select the Create From File option button. Choose the Browse button.
 * 5) In the File Name box, select any .BMP file from your Windows directory, and then choose OK.
 * 6) In the Insert Object box, select the Link check box, and then choose OK.
 * 7) From the Edit menu, choose Links.
 * 8) In the Links box, select the link, and then choose the Change Source button.
 * 9) In the File Name box, select a different .BMP file, and then choose OK.
 * 10) Choose Close. Note that the linked object in the form is updated.
 * 11) View the object's properties. Note that the SourceItem property is blank.

Note that if you copy the item in Windows Paintbrush, and then paste it into the form with the Paste Special command, selecting the Paste Link option button, the properties will be filled in correctly.

