Download presentation
Presentation is loading. Please wait.
Published byAllen Glenn Modified over 9 years ago
1
Multiple Cases Access Utilities1 Access & ODBC Managing and Using ODBC Connections P.O. Box 6142 Laguna Niguel, CA 92607 949-489-1472 http://www.d2associates.com
2
Multiple Cases Access Utilities2 Linked Tables P.O. Box 6142 Laguna Niguel, CA 92607 949-489-1472 http://www.d2associates.com
3
Multiple Cases Access Utilities3 Linked Tables Powerful feature of Microsoft Access Very widely used Sets up “pointers” in the database Can link to text, Excel, dBase, etc. Another type of data source is ODBC
4
Multiple Cases Access Utilities4 ODBC P.O. Box 6142 Laguna Niguel, CA 92607 949-489-1472 http://www.d2associates.com
5
Multiple Cases Access Utilities5 ODBC ODBC = Open Database Connectivity Microsoft supplies a generic middleman driver with Windows Vendors supply drivers for their specific database or data source This enables Access to link to data in almost any kind of database including Oracle, MS SQL Server, DB2, MySQL, etc.
6
Multiple Cases Access Utilities6 Linking Tables Via ODBC P.O. Box 6142 Laguna Niguel, CA 92607 949-489-1472 http://www.d2associates.com
7
Multiple Cases Access Utilities7 Linking to ODBC tables 3 scenarios The ODBC connection (DSN or Data Source Name) exists already (perhaps provided by IT group) Create the DSN in advance via Windows Create the DSN connection while going through the link table procedure
8
Multiple Cases Access Utilities8 Launch Link Tables Dialogue (Existing DSN scenario, Scenario 1)
9
Multiple Cases Access Utilities9 Link Dialogue Select files of type ODBC
10
Multiple Cases Access Utilities10 Select Existing Data Source
11
Multiple Cases Access Utilities11 Login to Data Source
12
Multiple Cases Access Utilities12 Select Tables to Link
13
Multiple Cases Access Utilities13 Access Database Window with Linked Tables
14
Multiple Cases Access Utilities14 Create New Windows DSN (Scenario 2) As stated before DSN typically created well in advance by IT But…for illustration purposes we will create it ourselves This scenario thus has two major steps 1 – create the DSN under Windows 2 – Launch the link tables dialogue in Access and proceed. We have already done this, so this will not be repeated here
15
Multiple Cases Access Utilities15 Key DSN Properties Name Driver Database Name Authentication Method User Name/Password (if using SQL Server authentication)
16
Multiple Cases Access Utilities16 Launch Control Panel (Create DSN in Window second scenario)
17
Multiple Cases Access Utilities17 Control Panel
18
Multiple Cases Access Utilities18 Administrative Tools
19
Multiple Cases Access Utilities19 Add DSN
20
Multiple Cases Access Utilities20 Select Driver
21
Multiple Cases Access Utilities21 Create New DSN
22
Multiple Cases Access Utilities22 Specify Authentication Method
23
Multiple Cases Access Utilities23 Specify Database in SQL Server
24
Multiple Cases Access Utilities24 Accept Defaults
25
Multiple Cases Access Utilities25 Review Properties and Test DSN
26
Multiple Cases Access Utilities26 Rocky2 DSN Tests OK
27
Multiple Cases Access Utilities27 Rocky2 DSN now available Note: the rocky2 DSN is available for all applications that can use ODBC, not just Access
28
Multiple Cases Access Utilities28 Link Tables (Use created DSN; still in second scenario) We will now go through an abbreviated series of slides showing how the new DSN can used.
29
Multiple Cases Access Utilities29 Launch Link Tables Dialogue (Use created DSN; still in second scenario)
30
Multiple Cases Access Utilities30 Select New Rocky2 Data Source
31
Multiple Cases Access Utilities31 Select Tables
32
Multiple Cases Access Utilities32 New Bookstore Database with Linked Tables via rocky2 DSN
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.