CR-XI, MS-SQL database
======================
Would like a parameter on a report that effects the "Record Selection" comparison method -
Parameter = {ComparisonMethod}
Values =
01 - EQUAL TO
02 - LESS THAN
03 - GREATER THAN
04 - LESS THAN OR EQUAL TO
05 - GREATER THAN OR EQUAL TO
I'm pretty sure I can do this with a long IF-THEN-ELSE statement in the Record Selection formula, but think that will run pretty slowly on a large data-set.
Anyone done this before? What is the most-efficent method of setting the "Record Selection" comparison method based on a Parameter...?
Thanks in Advance!
======================
Would like a parameter on a report that effects the "Record Selection" comparison method -
Parameter = {ComparisonMethod}
Values =
01 - EQUAL TO
02 - LESS THAN
03 - GREATER THAN
04 - LESS THAN OR EQUAL TO
05 - GREATER THAN OR EQUAL TO
I'm pretty sure I can do this with a long IF-THEN-ELSE statement in the Record Selection formula, but think that will run pretty slowly on a large data-set.
Anyone done this before? What is the most-efficent method of setting the "Record Selection" comparison method based on a Parameter...?
Thanks in Advance!