MarkK - I can just read the AgentID in the first record, but I want to omit the second record, as the first one is the only one relevant. To my knowledge, that would require an aggregate function, which, I was hoping, was the FIRST function. I did try getting rid of the ActivityDate field...