Trying to compare different detail lines of a report to get time differences. For example, I've selected multiple job ID's for a range of dates. I'm trying to get a transaction ID = 1531 and supress transaction ID 1518, but if transaction ID 1531 does not exist for the job ID, then I want to select a transaction ID of 1518 for that job ID and not supress it. I've tried using a boolean and variables, but can't get it to look through all transaction IDs for each job and to select the 1531 if it exists but if it don't, then to select the 1518 (Have both pulling in on report)?! Also, once I get over that hurdle, I'm need to get a time from one tranaction ID and subtract it from a time for a different transaction ID for each Job ID. Can this be done within crystal?