The formula below is my Record Selection Formula. Both ors are ignored as if only the first part in the or statement had been written. If I therefore change the order the result is completely different. The SQL Query although looks OK.
Any suggestions are welcome!
Tomaz
{VIEW.VALID_FROM_DATE} <= {?Date} and
({VIEW.VALID_TO_DATE} > {?Date} or isnull({VIEW.VALID_TO_DATE})) and
({VIEW.VALID_TO_TIMESTAMP} >= {?Date} or isnull({VIEW.VALID_TO_TIMESTAMP}))
Any suggestions are welcome!
Tomaz
{VIEW.VALID_FROM_DATE} <= {?Date} and
({VIEW.VALID_TO_DATE} > {?Date} or isnull({VIEW.VALID_TO_DATE})) and
({VIEW.VALID_TO_TIMESTAMP} >= {?Date} or isnull({VIEW.VALID_TO_TIMESTAMP}))