In the Record Selection Formula Editor of my Crystal Report, Prospective Students by Major v5, the formula ends with:
((IsNull ({SARAPPD.SARAPPD_APDC_CODE}) OR
{SARAPPD.SARAPPD_APDC_CODE} = '01' OR
{SARAPPD.SARAPPD_APDC_CODE} = '05') AND
Next ({SPRIDEN.SPRIDEN_ID}) <> {SPRIDEN.SPRIDEN_ID})
-----
When “X-2” checking the formula, this error message appears just before the “Next” function: “This function cannot be used because it must be evaluated later.”
I must not understand “Next”. I want to compare the values of the current row’s ID with the next row’s ID to make certain they are different.
((IsNull ({SARAPPD.SARAPPD_APDC_CODE}) OR
{SARAPPD.SARAPPD_APDC_CODE} = '01' OR
{SARAPPD.SARAPPD_APDC_CODE} = '05') AND
Next ({SPRIDEN.SPRIDEN_ID}) <> {SPRIDEN.SPRIDEN_ID})
-----
When “X-2” checking the formula, this error message appears just before the “Next” function: “This function cannot be used because it must be evaluated later.”
I must not understand “Next”. I want to compare the values of the current row’s ID with the next row’s ID to make certain they are different.