J
jez123456
Hi Experts
I have an access adp project connected to a sql server backend database. I
have an audit table which saves details of which user modified records on the
other tables.
We recently had to switch the connection properties from using NT integrated
security to using a specific username (GENLogin) and password.
When using NT integrated security, I recorded the user performing the table
updates using the sql server suser_sname() function, however, now that we use
the GENLogin for all users it’s GENLogin that gets saved in the audit table.
I need to be able to save which (windows) individual user has made the
changes.
Elsewhere in the adp code I use Environ("Username") to obtain the windows
user. Is there a way to enter this value in the audit table using a user
defined function?
Thanks
I have an access adp project connected to a sql server backend database. I
have an audit table which saves details of which user modified records on the
other tables.
We recently had to switch the connection properties from using NT integrated
security to using a specific username (GENLogin) and password.
When using NT integrated security, I recorded the user performing the table
updates using the sql server suser_sname() function, however, now that we use
the GENLogin for all users it’s GENLogin that gets saved in the audit table.
I need to be able to save which (windows) individual user has made the
changes.
Elsewhere in the adp code I use Environ("Username") to obtain the windows
user. Is there a way to enter this value in the audit table using a user
defined function?
Thanks