Do you have a PrimaryKey defined on the SQL Server Table?
I tested the TransferDatabase code in Access 2003 to an SQL Table with PK
(and TimeStamp Field which is recommende if you link the Table to Access)
and Access linked thee Table correctly without asking me to select a Unique
Record Identifier.

Signature
HTH
Van T. Dinh
MVP (Access)
> When linking certain tables to SQL Server programmatically via the VBA
> command DoCmd.TransferDatabase, the tables link correctly. However on
[quoted text clipped - 4 lines]
> provide the required information as part of the DoCmd.TransferDatabase
> statement?
Van T. Dinh - 06 Nov 2006 11:11 GMT
Sorry if it is a bit hard to read ... I think I need to replace my sticky
keyboard or my fingers or my brain ... or all three?

Signature
Van T. Dinh
MVP (Access)
> Do you have a PrimaryKey defined on the SQL Server Table?
>
> I tested the TransferDatabase code in Access 2003 to an SQL Table with PK
> (and TimeStamp Field which is recommende if you link the Table to Access)
> and Access linked thee Table correctly without asking me to select a
> Unique Record Identifier.