This page is a little too complex for me to debug without a premier ticket. In general I'd just say that if you need a recordset to return results based on the active row in a loop then you have to nest the recordset definition within that loop so that it gets recreated for each section.