M
Mark A. Sam
Hello,
I am linking an SQLServer view using the TransferDatabase method, like I
would link a table. The problem is that it brings up a dialog box asking me
for a field(s) to select as a unique indentifier. I am programming this so
that the end user doesn't have the password info for my database, and using
a view so that the user only sees his data. Is there a way to select the
unique key so that it isn't asked for each time?
DoCmd.TransferDatabase acLink, "ODBC Database",
"ODBC;DSN=DBName;UID=user12345;PWD=somepassword;LANGUAGE=us_english;DATABASE=myDatabase",
acTable, "Viewname", "AliasName", False
Thank you for your help and God Bless,
Mark A. Sam
I am linking an SQLServer view using the TransferDatabase method, like I
would link a table. The problem is that it brings up a dialog box asking me
for a field(s) to select as a unique indentifier. I am programming this so
that the end user doesn't have the password info for my database, and using
a view so that the user only sees his data. Is there a way to select the
unique key so that it isn't asked for each time?
DoCmd.TransferDatabase acLink, "ODBC Database",
"ODBC;DSN=DBName;UID=user12345;PWD=somepassword;LANGUAGE=us_english;DATABASE=myDatabase",
acTable, "Viewname", "AliasName", False
Thank you for your help and God Bless,
Mark A. Sam