WHERE (date BETWEEN records.Start_Date AND (records.End_Date OR records.End_Date IS NULL)or my other way of thinking is
WHERE (date BETWEEN records.Start_Date AND records.End_Date) OR (date BETWEEN records.Start_Date AND records.End_Date IS NULL)I assume it's something to do with the logic. Anyone able to lend a hand?