code works fine it's counts the records but not bring updated record?
is there any other way to count records ?
result showing
if i add 10 it's showing 1?
is there any other way to count records ?
Code:
Set rs = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT sum(qanty) as Count from itemsOrd WHERE orderID = " & OrderID rs.Open strSQL, conn, _ adOpenStatic, adLockOptimistic numitems = rs("Count") response.write numitems
if i add 10 it's showing 1?
Comment