Re: Dlookup / Vlookup access, VBA
In excel we use the VLOOKUP function with the argument FALSE which is similar to the dlookup function in Access
Some time we need to use that function with the TRUE argument that search the highest value in the table that is Less or Eq to the value I want.
When a user in Login, I am search the current hour against a table:
04----Good Night
11----Good Morning
17----Good Afternoon
24---Good Evening
etc,
and sent the user a greeting
So, my questions are:
1. There is a way to use the dlookup against an array and not against a record set (with the true or the false argument)
2. What is the way to do it in access with the TRUE argument