Various

Reach an Oracle table in Access

If you ever tried to retrieve data from an Oracle table in MS Accessicon, you might have experienced the error “Run-time error 3184: Could not execute query; could not find linked table. [IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0204 – Table in DB Name type *FILE not found. (#-204)” (Fig 1).

Access error Run-time error 3184: Could not execute query; could not find linked table. [IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0204 - Table in DB Name type *FILE not found. (#-204)
Fig 1 : Access error Run-time error 3184: Could not execute query; could not find linked table. [IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0204 – Table in DB Name type *FILE not found. (#-204)”. The solution to link an Oracle table to an Access Database is quite simple.

The solution to link an Oracle table to an Accessicon database is quite simple.

First, open your ODBC connections under Windows – go to Control Panel, and search for ODBC, name may vary depending on your Windows version.

From there, add a new connection, using driver “Oracle in OraHome 92” (Fig 2).

Create ODBC connection
Fig 2 : Create ODBC connection

Set the Data Source Name and the TNS Service Name (Fig 3) as the database you want to access, in my example, DB Name.

Setup Oracle ODBC connection
Fig 3 : Setup Oracle ODBC connection

You can then retrieve your table in Accessicon link tables list (Fig 4) that you will get from Oracle, in my example, DB Name.Table.

Access linked table selection
Fig 4 : Access linked table selection