NO I looked at it just working on trying this method.
I have it like this but its not displaying the results, or is this not the way to use it?
sql = "SELECT*,('SELECT max(id)+1') AS maxid FROM [Clients]"
rs.open sql, conn, 3, 3
session("myvar16")=rs("maxid")
rs.Close