ACC2: Attaching ORACLE Public SynonymsID: Q128887
|
ORACLE public synonyms are not listed in the OBDC Attach Table list box in
Microsoft Access. To attach ORACLE public synonyms, you must view system
tables.
This article assumes that you are familiar with Access Basic and with
creating Microsoft Access applications using the programming tools provided
with Microsoft Access. For more information about Access Basic, please
refer to the "Building Applications" manual.
ORACLE public synonyms are contained in the ORACLE Public schema by
default. The Public schema contains many system tables (often more than
100). To attach these tables, you must turn on the option to view system
tables. To turn on this option, follow these steps:
Function AttachSynonym ()
DoCmd TransferDatabase a_attach, "<SQL Database>", _
"ODBC;", a_table,"PUBLIC.TESTSYN1", "Test_Syn"
End Function
Note that the function attaches a public synonym called TESTSYN1 as
Test_Synon.
Keywords : kbusage OdbcOracl
Version : 2.0
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: April 9, 1999