Thank you for your reply, however your second suggestion
is the way I'm trying to do it yet for some reason it
still doesnt dump the default value into my table. In
other words, I've created a bound textbox on my form
(given that at this point whether or not it's hidden
doesnt effect the data) and set the controll source
labeled "CreatedBy", set the default value of the textbox
to =CurrentUser() and nothing shows up in the table.
Please help!
I'm assuming you mean you want to have a field that stores the current user
who *created* the record. If that's the case add a field to your table
(I'll call it CreatedBy). Add a textbox to your form that is bound to this
field. Set the default value of the textbox to =CurrentUser(). This will
put the current user's Access login name automatically into any *new*
records. It won't put it into existing records.
If you want to show both who created the record, and who last modified it,
then you would add another field (I'll call it ModifiedBy). Include
ModifiedBy in the recordsource for the form and in the BeforeUpdate event of
your form use
Me!ModifiedBy = CurrentUser()
This will be filled in only if/when a record is changed. Again it won't
fill in for existing records that haven't been modified.