5 replies
by donq
Paste the UserID anywhere using:
FieldToFill = CurrentUser()
and paste a password using as long as the password is not encrypted:
FieldToFill = [PasswordFieldName] or
FieldToFill = "PasswordFieldName"
It's difficult to figure what securityyou are enabling using a password this way - it's not secure itself or not required for user access?
by frankus
by gutridgesj
I am using this in an Access97 DB to an SQL server using ODBC.
DoCmd.TransferDatabase acImport, "ODBC Database", "ODBC;DSN=MyDSN;UID=MyUserId;PWD=MyPasswd;database=MyDatabase", acTable, "dbo.Mytable", "dbo_MyTable"
If you do not want users to see that code, i am not sure how to do but if you make the mdb an mde file, it might hide it.
by frankus
by frankus
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending