I have searched and searched because I was afraid someone would say use the search button on the forum.
I am trying to do a Dlookup on a date to see if there is one or not, it returns 12:00:00 AM when no date is present. here is my code:
adate is a variable that it is declared as a Date.
I am trying to do a Dlookup on a date to see if there is one or not, it returns 12:00:00 AM when no date is present. here is my code:
Code:
adate = Nz(DLookup("[ArrivalDate]", "tblSerialNumber", "[SerialNumberID] = '" & Me.txtSerialNumberID & "'"))
adate is a variable that it is declared as a Date.