A
Altemir
I have an ADP project that has the following characteristics:
1) On startup, an autoexec macro automatically loads a form whose
record source is view 'qryXYZ'
2) View 'qryXYZ' is based on table 'tblABC'
3) Table 'tblABC' is a linked table that is linked using Transact SQL
to a table in another database
4) I believe that restricted user permissions for 'tblABC' are
properly set up in SQL Server
I was expecting users to be prompted to enter an SQL Server password so
they could get authenticated for 'tblABC', but no password prompt ever
comes up.
I'm using CurrentProject.Connection.Properties("User ID").Value to trap
the current user's name. For some resson it always recognizes me as
'SA' even though I have not explicitly logged in. I've run the ADP on
other users' machines and their current user name goes unrecognized
(i.e., CurrentProject.Connection.Properties("User ID").Value returns
'#name').
This has worked fine on other databases I've built. What could I be
missing that is causing users to go unauthenticated?
1) On startup, an autoexec macro automatically loads a form whose
record source is view 'qryXYZ'
2) View 'qryXYZ' is based on table 'tblABC'
3) Table 'tblABC' is a linked table that is linked using Transact SQL
to a table in another database
4) I believe that restricted user permissions for 'tblABC' are
properly set up in SQL Server
I was expecting users to be prompted to enter an SQL Server password so
they could get authenticated for 'tblABC', but no password prompt ever
comes up.
I'm using CurrentProject.Connection.Properties("User ID").Value to trap
the current user's name. For some resson it always recognizes me as
'SA' even though I have not explicitly logged in. I've run the ADP on
other users' machines and their current user name goes unrecognized
(i.e., CurrentProject.Connection.Properties("User ID").Value returns
'#name').
This has worked fine on other databases I've built. What could I be
missing that is causing users to go unauthenticated?