Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / May 2006

Tip: Looking for answers? Try searching our database.

Linking Oracle tables with primary index and another index

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Philippe - 12 May 2006 22:30 GMT
Hi,

I have created under Oracle 9i a table RIVERS containing fields RIVER and
DESCRIPTION. RIVER is used as primary key.

In order to avoid that a user could enter in the table two rivers with the
same name but written with a different case (Oracle is case sensitive) I've
created another index based on Upper(RIVER).

When I link the table to Access 2000 manually, the Access assistant asks me
for a unique identifier in table RIVERS. It is rather strange, as a primary
key is already defined in the table under Oracle. But it seems that the
presence of another index based on the same field provokes a conflict ???

When I link the same table with VBA, I'm not asked for a unique identifier,
but then my attached table is not modifiable, it is Read-Only.

Somebody has a solution?

The same behaviour doesn't occur when I do exactly the same thing with
PostGreSQL, which is also case sensitive. The attached table in Access works
perfectly and is modifable...

Signature

Phil

david@epsomdotcomdotau - 16 May 2006 14:29 GMT
Use DAO or DDL to add the correct index to the linked table.
(it doesn't really add a real index, but it's the same as specifying
the index fields in the linked table wizard)

I don't have any information easily to hand, but if you search
around here and on the web you will probably find examples
and more information.

(david)

> Hi,
>
[quoted text clipped - 18 lines]
> PostGreSQL, which is also case sensitive. The attached table in Access works
> perfectly and is modifable...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.