I am trying to have my field pre populate the users name. I am using a function to look up the current users sign on info.. that works great I then am trying to use that info to prepopulate a field with their full name. I have a table with all the info in it. I tried to use the d lookup but it is not returning a value
the code is
=DLookUp("[Name]","Employee listing","User name"= CU())
Name is the field I want to return from the employee listing table when user name = CU ....... CU is the name of the function that returns the current user name using Environ("USERNAME")
it has to be something silly I am doing. any help would be welcome