Microsoft KB Archive/827233

= Data in a cell is deleted after you change pages in a Visio 2007 or Visio 2003 drawing that uses the DataGrid control =

Article ID: 827233

Article Last Modified on 11/11/2006

-

APPLIES TO


 * Microsoft Office Visio Professional 2007
 * Microsoft Office Visio Standard 2007
 * Microsoft Office Visio Professional 2003
 * Microsoft Office Visio Standard 2003

-





SYMPTOMS
When you use Microsoft DataGrid Control 6.0 (OLEDB) in a Microsoft Office Visio 2007 or Microsoft Office Visio 2003 drawing, you may find that you cannot modify data in a cell after you change pages in your Visio drawing. For example, if you modify data in a cell on one page of your Visio drawing, switch to a different page of your drawing, and then return to the page that contains the DataGrid control, the data is deleted when you click the cell to modify the data.



CAUSE
This issue may occur if both of the following conditions are true:
 * You use Microsoft DataGrid Control 6.0 (OLEDB) in a multipage Visio drawing.

-and-
 * You try to modify data in a cell after you switch to a different page in your drawing and then return to the page that contains the DataGrid control.

In this scenario, the DataGrid control is not deactivated and reactivated correctly.



WORKAROUND
To work around this issue, use either of the following methods.

Method 1
Insert the DataGrid control into a user form, and then display the user form.

Method 2
Use the DataGrid control in a single-page Visio drawing.



MORE INFORMATION
For more information about Visio, visit the following Microsoft Web site:

http://www.microsoft.com/office/visio

Additional query words: VSO2007 VISIO2003

Keywords: kbprb kbnofix KB827233

-

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

© Microsoft Corporation. All rights reserved.