PC Review
Forums
Newsgroups
Microsoft Access
Microsoft Access Security
detect user
Forums
Newsgroups
Microsoft Access
Microsoft Access Security
detect user
![]() |
detect user |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
i have a system. how can i detect the user who has been change the data or
update the data? i want it keep in a table and can be a proof when something going wrong with the data. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
"Irene" <Irene@discussions.microsoft.com> wrote in message
news:52FE4D1B-29F5-4D68-B128-549A73092595@microsoft.com... >i have a system. how can i detect the user who has been change the data or > update the data? i want it keep in a table and can be a proof when > something > going wrong with the data. You can either use the CurrentUser function or you can grab the network ID using this: http://www.mvps.org/access/api/api0008.htm Keith. www.keithwilby.com |
|
|
|
#3 |
|
Guest
Posts: n/a
|
i have been trying this. but cant. i dont know y. what is API?
"Keith Wilby" wrote: > "Irene" <Irene@discussions.microsoft.com> wrote in message > news:52FE4D1B-29F5-4D68-B128-549A73092595@microsoft.com... > >i have a system. how can i detect the user who has been change the data or > > update the data? i want it keep in a table and can be a proof when > > something > > going wrong with the data. > > You can either use the CurrentUser function or you can grab the network ID > using this: > > http://www.mvps.org/access/api/api0008.htm > > Keith. > www.keithwilby.com > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
"Irene" <Irene@discussions.microsoft.com> wrote in message
news:77256773-3E96-4AF1-A611-78AEF439D699@microsoft.com... >i have been trying this. but cant. i dont know y. what is API? > Paste the code into a module and save it. You can then call it from your form's "Before Update" event to store the result in a table: Me.txtUserName = fOSUserName where "txtUserName" is the name of a text box bound to the field where you want to store the name. Keith. |
|
|
|
#5 |
|
Guest
Posts: n/a
|
hi keith,
thanks for ur help! but i stil have a question. is it need test on the server? cos i'm copy the form and the table and put in my drive C to try, but it didn't show anything. is it need put the table in the server, then the form in the own pc? the result wil show the computer name or "admin" if he o she is the admin for their own pc. sorry, because i'm new to this topic. hope u stil can continue helping me. thanks! "Keith Wilby" wrote: > "Irene" <Irene@discussions.microsoft.com> wrote in message > news:77256773-3E96-4AF1-A611-78AEF439D699@microsoft.com... > >i have been trying this. but cant. i dont know y. what is API? > > > > Paste the code into a module and save it. You can then call it from your > form's "Before Update" event to store the result in a table: > > Me.txtUserName = fOSUserName > > where "txtUserName" is the name of a text box bound to the field where you > want to store the name. > > Keith. > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

