G
Guest
hi
im trying to look up values in a table and if it returns null then it displays a msgbox "No Results
the problem is it constantly returns null and i cant figure out why? here it is
nodata = Dlookup("date", "eventlogs", "[Date]= #" & Forms!Eventlogsmain!Date & "#"
ive checked all of the names on my tables/forms the are correct, ive even trie
nodata = Dlookup("date", "eventlogs", "[Date]= #26/01/2004#") returns null when it should be 26/01/200
i added a watch and it said out of contex
have i got some thing wrong
if some one could give me a kick in the right direction i would be extreemly greatful
thank
joh
im trying to look up values in a table and if it returns null then it displays a msgbox "No Results
the problem is it constantly returns null and i cant figure out why? here it is
nodata = Dlookup("date", "eventlogs", "[Date]= #" & Forms!Eventlogsmain!Date & "#"
ive checked all of the names on my tables/forms the are correct, ive even trie
nodata = Dlookup("date", "eventlogs", "[Date]= #26/01/2004#") returns null when it should be 26/01/200
i added a watch and it said out of contex
have i got some thing wrong
if some one could give me a kick in the right direction i would be extreemly greatful
thank
joh