Re: Adding User ID to tables
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Jan 2008 17:57:05 -0500
Well, it would probably be simpler if you included the code for BobbaLou to
paste.... <g>
I'm assuming you meant code similar to
http://www.mvps.org/access/api/api0008.htm at "The Access Web" (except that
you'd use =fOSUserName() with that code, not =GetUserID())
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Klatuu" <Klatuu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:308A0DC5-56B9-42B6-970E-B1830E4333EF@xxxxxxxxxxxxxxxx
Paste the following code into a standard module by itself. DO NOT name
the
module the same as the funtion name. Access will choak if you do.
The create a text box (it can be hidden if you want) on the form and bind
it
to the field in the record source where you want to put the User ID. Then
make this the control source of the contro:
=GetUserID()
Simple as that.
--
Dave Hargis, Microsoft Access MVP
"BobbaLou" wrote:
I am setting up a database with User ID's (not a secure DB). The user
starts
Access and would login to the app. Eac entry made by the user would have
his
entries tagged with his ID (name). Any suggestions to tie these out?
.
- Prev by Date: Re: Rating Database Access 2003
- Next by Date: Re: Indexes or double references?
- Previous by thread: Re: Adding User ID to tables
- Next by thread: Re: Adding User ID to tables
- Index(es):
Relevant Pages
|