Hmmm...why should Job # be a primary key? I agree with Rewdee that this sounds like a job for relationships – the database will be a lot smaller and easier to manage, especially if there’s a lot in common between job 25A, 25B, and 25C.
Having said that, there are a few issues. Incrementing a...
Is the employee ID a number? If it's a string, you need to include "'" characters before and after the text. So, you would type:
bill = DLookup("[Billing ID]", "Billing", "[Employee ID]='" & Forms![Entry]!txtEmployeeID & "' AND [Project ID...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.