G
Guest
Hi All,
My Problem seems pretty simple but i just dont seem to be able to get my
head round it.
I am trying to use Dlookup in a query criteria to find a specific number
from a table dependent on todays date as the lookup reference.
The 2 Strings i have tried are (Baring in mind i have never used dlookup):
1) DLookUp("Date()","[Vehicensus DaysTbl]","[Tuesday]")
2) DLookUp("Date()","[Vehicensus DaysTbl]![Todays Date]","[Tuesday]")
My table has a list of dates on the far left (Titled "Todays Date") and 4
other columns, 1 being "Tuesday".
I was hoping it would be able to find todays date in the table using
"Date()" and return the value from "Tuesday" in the criteria.
All suggestions would be greatfully recieved but i know about as much about
sql as i do rocket engineering, so if you could keep it resonable simple
would be amazing!
Thanks v much!
Dave
My Problem seems pretty simple but i just dont seem to be able to get my
head round it.
I am trying to use Dlookup in a query criteria to find a specific number
from a table dependent on todays date as the lookup reference.
The 2 Strings i have tried are (Baring in mind i have never used dlookup):
1) DLookUp("Date()","[Vehicensus DaysTbl]","[Tuesday]")
2) DLookUp("Date()","[Vehicensus DaysTbl]![Todays Date]","[Tuesday]")
My table has a list of dates on the far left (Titled "Todays Date") and 4
other columns, 1 being "Tuesday".
I was hoping it would be able to find todays date in the table using
"Date()" and return the value from "Tuesday" in the criteria.
All suggestions would be greatfully recieved but i know about as much about
sql as i do rocket engineering, so if you could keep it resonable simple
would be amazing!
Thanks v much!
Dave