% action = request.querystring("action") if action = "Delete" then inv_id = request.querystring("inv_id") qryDel = "delete from investors where inv_id = "& inv_id &"" set rsDel = conn.execute(qryDel) set rsDel = nothing end if %>