set rs = connect.execute(sql)
if rs.eof then
rows = 0
else
arr = rs.getrows()
rows = ubound(arr,2) + 1
end if
eller
rs.open sql,conn,adOpenStatic
rows = rs.recordcount
recordcount fungerar enbart om man anger cursortypen adOpenStatic eller adOpenKeyset
------------------
essentitia preter non sans multiplicandum
[Redigerat av LarsG den 11 aug 2001]
