Microsoft KB Archive/321567

= FIX: Visio2002: You May Lose Data or Visio May Quit Unexpectedly When You Delete an Object Relational Type =

Article ID: 321567

Article Last Modified on 5/30/2002

-

APPLIES TO


 * Microsoft Visio for Enterprise Architects 2002, when used with:
 * Microsoft Visual Studio .NET 2002 Enterprise Architect

-



This article was previously published under Q321567



SYMPTOMS
When you use a Database Model Diagram, if you delete an Object Relational Type in the Type window, and then try to undo the delete, the data is not restored to the Type field as expected.

If you then select the Object Relational Type on the Database Model Diagram drawing grid, press DELETE, and then try to undo the delete, Visio quits unexpectedly.



RESOLUTION
To resolve this problem, you can obtain the latest service release for Microsoft Visio for Enterprise Architects 2002. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

320765 Visio2002: How to Obtain the Latest Visio for Enterprise Architects 2002 Service Release



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Visio for Enterprise Architects 2002 Service Release 1 (SR-1).



Steps to Reproduce the Behavior

 * 1) Start Microsoft Visio.
 * 2) On the File menu, point to New, point to Database, and then click Database Model Diagram.
 * 3) In the Shapes window, click the Object Relational stencil.
 * 4) Drag a Type from the Object Relational stencil to the drawing grid.
 * 5) In the Database Properties window, select the Fields Category. To add a new field name, click Add. By default, the Physical Name for the field is Type1_tField1.
 * 6) On the Database menu, point to View, and then click Types.
 * 7) In the Types window, right-click the Type, and then click Delete. Note that the Type is deleted as expected.
 * 8) On the Edit menu, click Undo Clear.

The Type is restored in the drawing grid and the Field in the Type on the drawing grid displays the correct Field Name. However, the Field Name is missing from the Database Properties window, in the Fields category.
 * 1) In the drawing grid, select the Type, and then press DELETE. Note that the Type is deleted as expected.
 * 2) On the Edit menu, click Undo Delete.

Notice that Visio quits unexpectedly.

Additional query words: closes Visio EA VEA kbVSNETEntArch2002sr1Fix

Keywords: kbbug kbfix KB321567

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.