I get this error message when running this code and it fails on the DLookup line.
Here is the full code:
fosusername() pulls the windows userid I am logged in with. I simply want the user to click a button and it will log the empid from the employees table into the emp# field in the...