This code in the Record Selection Formula editor (embedded in other selection criteria) does NOT return rows with null values, as I would expect:
({SARAPPD.SARAPPD_APDC_CODE} = '01' OR
{SARAPPD.SARAPPD_APDC_CODE} = '05' OR
IsNull ({SARAPPD.SARAPPD_APDC_CODE}))
When I place the IsNull condition first, the null values are returned as expected:
(IsNull ({SARAPPD.SARAPPD_APDC_CODE}) OR{SARAPPD.SARAPPD_APDC_CODE} = '01' OR
{SARAPPD.SARAPPD_APDC_CODE} = '05')
I am tempted to deduce that there is a correct order for the IsNull condition. Is this so? Is there documentation for this and other rules of order?
({SARAPPD.SARAPPD_APDC_CODE} = '01' OR
{SARAPPD.SARAPPD_APDC_CODE} = '05' OR
IsNull ({SARAPPD.SARAPPD_APDC_CODE}))
When I place the IsNull condition first, the null values are returned as expected:
(IsNull ({SARAPPD.SARAPPD_APDC_CODE}) OR{SARAPPD.SARAPPD_APDC_CODE} = '01' OR
{SARAPPD.SARAPPD_APDC_CODE} = '05')
I am tempted to deduce that there is a correct order for the IsNull condition. Is this so? Is there documentation for this and other rules of order?