Hi:
when my recordset return no record. it give error message.
So I do this
Set oRSet = Server.CreateObject("ADODB.Recordset"
oRSet.CursorType = adOpenDynamic
oRSet.Open str_query,oConn
If (oRSet.RecordCount <> 0) Then
you have something here.
else
No record found
End if
But it still doesn't work. Please help.!!!
Many thanks.......
when my recordset return no record. it give error message.
So I do this
Set oRSet = Server.CreateObject("ADODB.Recordset"
oRSet.CursorType = adOpenDynamic
oRSet.Open str_query,oConn
If (oRSet.RecordCount <> 0) Then
you have something here.
else
No record found
End if
But it still doesn't work. Please help.!!!
Many thanks.......