Scenario:
In the table [Entry Data] I have fields [Symbol Number] and [Date Tested] that i'm using as the basis for my DLookup. I need to see if the symbol number a user entered in a form along with a date (more specifically it's year) exist among the records. I am basically trying to debug it right now by entering data into the form that I know a record exist for but it still is telling me that i'm getting a null value.
Here's my code (any thoughts into what i'm doing wrong would be greatly appreciated:
If IsNull(DLookup("[Symbol Number]", "[Entry Data]", "[Symbol Number] = '" & Symbol_Num2 & "' AND Year([Date Tested]) = Year(" & Begin_Date & ")")) = True Then . . .
Records exist for the symbol number and year from the date field associated with the symbol number which i enter in my form