Realistically, you do have 2 separate functions there. The first tells
Access the details about a function built into advapi32.dll. The second uses
the first function to get the information you want.
I used the code above to create a user name field on my form - and did the
same thing in a query field. The problem I'm having is that for both the form
and query-based fields the user name for the current user populates for ALL
the records. How can I tie it just to the user who entered the record?
Ideally this would be tied to the query-based field for reporting purposes.
Thanks for your input.