G
Guest
Can anyone figure out why this DLookup expression is returning Null to BH :-
Dim FDate As Date
Dim BH As Variant
FDate = "29/08/04"
FDate = FDate + 1
BH = DLookup("[BHID]", "tblBH", "[BHDay] = #" & FDate & "#")
.... and yes, there is a table (tblBH) with fields (BHID and BHDay) and one
row has BHDay value of 30/08/04.
Thanks.
Dim FDate As Date
Dim BH As Variant
FDate = "29/08/04"
FDate = FDate + 1
BH = DLookup("[BHID]", "tblBH", "[BHDay] = #" & FDate & "#")
.... and yes, there is a table (tblBH) with fields (BHID and BHDay) and one
row has BHDay value of 30/08/04.
Thanks.