title: I need the highest ID from database. Am I doing this right?
body: <pre><code>    set qv = createobject("adodb.recordset")
  q ="select * from tbl order by ID"
  qv.open q,QuoteConn,3,1,1
      qv.movelast
      qid=qv("ID")
  qv.close
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>awwww, y'all killed the joke. In year 2009, I am maintaining this piece of code...</p>