Milage,
Here is a subroutine that will out put a recordset in table format. Just send the sub your object recordset.
fengshui1998
objrs.fields.count - Tells how many fields
'***************************
Sub Display_Table(rstmp)
'***************************
strAlign = "<TH ALIGN=""center"">"
strFont = "<FONT style=""font-family:Helvetica;color:#FFFFFF;font-size:9pt"">"
strFont2 = "<FONT style=""font-family:Arial;font-size:9pt;color:#00008C"">"
strTD = "<TD NOWRAP ALIGN=""center"" style=color:#00008c>"
Dim QArray
If Not rstmp.EOF Then
QArray = rstmp.GetRows()
response.write "<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0><TR BGCOLOR=""#000080"">"
For I = 0 To UBound(QArray, 1)
response.write strAlign & strFont & "<B>" & _
Trim(rstmp.Fields(I).Name) & "</B></FONT></TH>"
Next
response.write "</TR>"
For I = 0 To UBound(QArray, 2)
Response.Write "<TR BGCOLOR=""#FFFFFF"">"
For J = 0 to UBound(QArray, 1)
Value = Trim(QArray(J, I))
If Value = "" or IsNull(value) Then Value = " "
response.write strTD & strfont2 & Value & "</FONT></TD>"
Next
Response.Write "</TR>"
Next
End If
Set rstmp = Nothing
Response.Write "</Table>"
rstmp.Close
End Sub