like '%"&date()&"%' treats the dat value as a string
if this "works" it is not efficient, and will disregard any index on dat
furthermore, it relies on the default access display format being the same format as your default scripting language date() function
the solutions i gave you use the builtin access database date() function, thus treating dat values as a datetime values