HOLA COMO ESTAN TENGO ESTO DENTRO DE UNA FUNCIÒN PERO NO SE PORQUE MOTIVO NO ACTUALIZA EL CAMPO N_PEDIDO AGRADECERIA UNA PRONTA RESPUESTA GRACIAS.
<%
sql="select n_pedido from pedido"
set rs = exec_rs(sql,conexion)
sql=""
sql="update pedido set "
sql=sql + "n_pedido =" & CStr(rs("n_pedido")) + 1
conexion.execute sql
If conexion.Errors.Count > 0 then
For each error in conexion.errors
Response.write Error.Number & " = "& Error.Description
next
End if%>