Linked table From SQL Server (1 Viewer)

accessman2

Registered User.
Local time
Today, 05:30
Joined
Sep 15, 2005
Messages
335
Hi,

I used ODBC to link the tables from SQL Server to MS Access.

When I link the table, it popup the message:

Select Unique Record Identifier

To ensure the data integrity and to update records, you must choose a field or fields that uniquely each record. Select up to ten fields.

It force me to set up at least 1 field for primary key in a table.

How can I skip it? I do NOT want to setup primary key of the fields in a table.

Please let me know, thanks.
 

FoFa

Registered User.
Local time
Today, 07:30
Joined
Jan 29, 2003
Messages
3,672
Without a unique identifier, Access will not allow you update the table data then.
 

RV

Registered User.
Local time
Today, 13:30
Joined
Feb 8, 2002
Messages
1,115
FoFa said:
Without a unique identifier, Access will not allow you update the table data then.

Shouldn't that read that SQL Server requires to use unique identifiers on tables?

Rv
 

FoFa

Registered User.
Local time
Today, 07:30
Joined
Jan 29, 2003
Messages
3,672
RV said:
Shouldn't that read that SQL Server requires to use unique identifiers on tables?

Rv
Actually Sql Server does NOT require unique identifiers. BUT a linked table in access requires a unique identifier on the SQL Server table before it allows you to make changes to the underlying linked table.
How ever what does suprise me about Access, is if you have a unique index on a Sql table, Access still askes you for the unique field. It should know you have a unique key.
 

Users who are viewing this thread

Top Bottom