newToVBA2003
Programmer
I have a "WHERE" statement as such:
"WHERE (((ClaimsBenefits.DateOfVisit)>= #" & BeginElig & "#))
where BeginElig = "1/1/" & (Format(ClaimDate, "yyyy"))
Is there a way to compare two var within the Where statement? EX: I want to compare BeginElig against another date variable within the WHERE, so I guess I'm asking how do I do this or is this possible:?
"WHERE (((ClaimsBenefits.DateOfVisit)>= #" & BeginElig & "#)) And someOtherDate >= BeginElig
"WHERE (((ClaimsBenefits.DateOfVisit)>= #" & BeginElig & "#))
where BeginElig = "1/1/" & (Format(ClaimDate, "yyyy"))
Is there a way to compare two var within the Where statement? EX: I want to compare BeginElig against another date variable within the WHERE, so I guess I'm asking how do I do this or is this possible:?
"WHERE (((ClaimsBenefits.DateOfVisit)>= #" & BeginElig & "#)) And someOtherDate >= BeginElig