I have a problem that I want to do a Record Selection on a Crystal 8.5 report based on a formula that uses a WhilePrintingRecords function. The report is a sales report - when it hits an item of a certain type it assigns a string "TEST TYPE" for the remainder of items in the order until the order number changes (then it will reset itself to ' '). I want to exclude those lines where it doesn't assign the string (where the value is blank). I can't use this formula in the Record Selection. Ideally, would like only to grab those items where it returns "TEST TYPE". Any thoughts on how to get around this? Thanks