You are a genius! I am an idiot. I used the wrong code in the wrong area. now works perfect.
here is the completed query which is now working seamlessly finding all matching dates in all fields.
With at least this much working, I am forever in your debt. Finally I can undo layers of bad antiquated programming.
here is the completed query which is now working seamlessly finding all matching dates in all fields.
Code:
SELECT *
FROM DETAILS
WHERE (((DETAILS.PaymentDate)>=Date() And (DETAILS.PaymentDate)<Date()+1)) OR (((DETAILS.PaymentDate1)>=Date() And (DETAILS.PaymentDate1)<Date()+1)) OR (((DETAILS.PaymentDate2)>=Date() And (DETAILS.PaymentDate2)<Date()+1)) OR (((DETAILS.PaymentDate3)>=Date() And (DETAILS.PaymentDate3)<Date()+1)) OR (((DETAILS.PaymentDate4)>=Date() And (DETAILS.PaymentDate4)<Date()+1)) OR (((DETAILS.PaymentDate5)>=Date() And (DETAILS.PaymentDate5)<Date()+1)) OR (((DETAILS.PaymentDate6)>=Date() And (DETAILS.PaymentDate6)<Date()+1)) OR (((DETAILS.PaymentDate7)>=Date() And (DETAILS.PaymentDate7)<Date()+1)) OR (((DETAILS.PaymentDate8)>=Date() And (DETAILS.PaymentDate8)<Date()+1)) OR (((DETAILS.PaymentDate9)>=Date() And (DETAILS.PaymentDate9)<Date()+1)) OR (((DETAILS.PaymentDate10)>=Date() And (DETAILS.PaymentDate10)<Date()+1)) OR (((DETAILS.PaymentDate11)>=Date() And (DETAILS.PaymentDate11)<Date()+1));
With at least this much working, I am forever in your debt. Finally I can undo layers of bad antiquated programming.