Select database record command does not work (327222)



The information in this article applies to:

  • Microsoft Visio 2002 Standard
  • Microsoft Visio 2002 Professional

This article was previously published under Q327222

SYMPTOMS

After you open a database-connected drawing in Visio, the Select database record command may not work correctly. For example, you may not be able to view with database record information about the data source, the table name, the primary key field, and the key value. This symptom may occur if the following conditions exist:
  • The drawing was created in Visio 5.0c, and the drawing was linked to a data source.
  • You are using Visio 2002 Service Release 1 (SR-1).
  • You tried to open the drawing by right-clicking it, and then clicking Select database record.

CAUSE

This problem occurs because Visio 2002 does not correctly process shapes that were created in earlier versions of Visio. The code in CDBSession::ParameterKeyCount in the Shapes.cpp file obtains the number of key fields in the shape to determine which Select dialog box to display. The code looks for the Visio 2002 cell, and if it does not find it, the code quits looking.

RESOLUTION

Service pack information

This problem is corrected in Microsoft Visio 2002 Service Pack 2.

To resolve this problem, obtain the latest service pack for Visio 2002. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

867749 How to obtain the latest Visio 2002 Service Pack

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The global version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time     Version      Size     File name
   --------------------------------------------------------
   31-Jul-2002  1:10:25  10.0.3205.4  592,000  Visdbwiz.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This problem was first corrected in Visio 2002 Service Pack 2.

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbHotfixServer kbQFE kbenv kbQFE kbbug kbfix KB327222