You know what else...in each subreport I have an unbound textbox that is tied to a function. I use this function to output all of the records in a comma delimited line. Maybe this has something to do with the reason that my subreports are not disappearing automatically. I will post the code...
Function BlendTheData(strSQL As String) As String
On Error GoTo Err1
Dim Rs As Recordset, Db As DATABASE, fld As Field
Set Db = CurrentDb()
Set Rs = Db.OpenRecordset(strSQL, dbOpenSnapshot)
For Each fld In Rs.Fields
BlendTheData = fld.Value
Next
Rs.MoveNext
Do Until Rs.EOF
For Each fld In Rs.Fields
BlendTheData = BlendTheData & ", " & fld.Value
Next
Rs.MoveNext
Loop
Exit1:
Exit Function
Err1:
MsgBox Err.Number & " " & Err.Description, vbInformation, "Sera is Dumb..."
Resume Exit1
End Function
I am pretty new at writing code in Visual Basic. But maybe you can see something I am not seeing...I wasn't trying to stump you...
Sera