It should be something like
Code:
objCommand.CommandText = "SELECT Sum(columnName) as "varSum" FROM tableName"
Set objRS = objCommand.Execute
Response.write objRS("varSum")
That will total the column and write it. Hope this helps. Andy
Andy
AIM: LoPrestoAtWork
Trusant Technologies, LLC