I'm trying to get the following SQL Query result into a TextBox. This is my Query:
SELECT ID
from tblEmployee
Where DateEntered IN (Select Max(dateEntered) from tblEmployee)
;
I know that to get a single result into a textbox I would normally use DLookup, but I don't think DLOOKUP allows you to have a subquery, if so, how would you set that up.
SELECT ID
from tblEmployee
Where DateEntered IN (Select Max(dateEntered) from tblEmployee)
;
I know that to get a single result into a textbox I would normally use DLookup, but I don't think DLOOKUP allows you to have a subquery, if so, how would you set that up.