1 of 1 people found this helpful
If I understand correctly you have a field called cResultsCalc (for example).
You want to be able to view a Found Set of records in a list layout that are chosen based on the value of cResultsCalc.
The general practice is to perform a Find on the cResultsCalc field to get the records that match your criteria.
How you go about programming that into your layout buttons and scripting depends on the user interface you want to achieve.
If you have constructed the calculation in cResultsCalc to be difficult to perform a search, I recommend making another field cResultsCalcFindKey that does a similar Case() calculation but with each resulting value being something easily searchable.
If you have
cResultsCalc = (
this="that"; "This is the result of the first case that is for humans to read";
this="the other thing"; "This is the second result of the other case that is for humans to read";
this="yet something else"; "This is the third result of the new case that is for humans to read";
then you might want to make
cResultsCalcFindKey = (
this="the other thing"; "Case002";
this="yet something else"; "Case003";
and then Find (or Filter) on the simpler values ("Case001", "Case002", etc).