There's a logical error in the above...
Change it to this:
Code:
If sLastType = "" Then
response.write "<tr>"
sLastType = Rslist("FaultType")
ElseIf sLastType <> Rslist("FaultType") then
response.write "<tr style=""page-break-before: always;"">"
sLastType = Rslist("FaultType")
Else
response.write "<tr>"
End if