I have an access table with a column username. I have multiple users that will use the database at different times and they will add rows to the table. But everytime a user add a new row, his/her username must appear in the username column of the table, without them having to type it in by themselves. I tried putting in UCase(Environ("USERNAME")) as the default value, but Environ is an unknown function. I use this UCase(Environ("USERNAME")) in VBA to get the user name when i export tables.
Is there any way i can set the deafult value of a column to a user's username?