Microsoft KB Archive/239103

= PRB: Synonyms of DBLinked Tables Do Not Show in Data View Window =

Article ID: 239103

Article Last Modified on 5/8/2003

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q239103



SYMPTOMS
Oracle synonyms used to connect to DBLinked tables do not show up in the Data View window of Visual Basic version 6.0.



RESOLUTION
Use a View of the DBLinked table instead of a Synonym or use Visual C++'s Database Project.



STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
  Create the following table on one Oracle Server (OracleServer1). CREATE TABLE mytable (fld1 number(3,0) PRIMARY KEY, fld2 varchar2(20)) INSERT INTO mytable values (100, 'test') INSERT INTO mytable values (200, 'test')   Use the following code to create a Data Linked Table and a Synonym to the linked table on another Oracle Server. CREATE DATABASE LINK mylink CONNECT TO demo IDENTIFIED BY demo USING 'OracleServer1'; CREATE SYNONYM mysynonym FOR mytable@mylink; NOTE: "demo" is a global Oracle user name and password.  Start Visual Basic 6.0 and open the Data View window. Make the appropriate connections within the Data View Window to the Oracle Server containing the Synonym. Go to the Synonyms folder in the Data View Window and note that the Synonym does not show up.</ol>

<div class="references_section">