G
Guest
Hi,
I would like to be able to track users as they create and modify records,
but I am wary of using security settings to do so (I've been having a host of
problems with the security wizard). I found a link on this site for a module
that looks up the user's Windows Login:
http://www.mvps.org/access/api/api0008.htm. I was able to create the module,
and I've set up an event procedure in my form [frmAgreement] so that Before
Update, Me![LastModifiedBy] = fOSUserName ().
The problem is that I keep on getting a message that says "Compile error:
object or library not found." The debugger highlights "String$" as the locus
of the problem. I have no idea what to do, since this code is way beyond my
ken.
Any suggestions?
I would like to be able to track users as they create and modify records,
but I am wary of using security settings to do so (I've been having a host of
problems with the security wizard). I found a link on this site for a module
that looks up the user's Windows Login:
http://www.mvps.org/access/api/api0008.htm. I was able to create the module,
and I've set up an event procedure in my form [frmAgreement] so that Before
Update, Me![LastModifiedBy] = fOSUserName ().
The problem is that I keep on getting a message that says "Compile error:
object or library not found." The debugger highlights "String$" as the locus
of the problem. I have no idea what to do, since this code is way beyond my
ken.
Any suggestions?