From within the re****t_detail event, how can I tell if I'm processing the last record for the re****t?