acmd.CommandText ="SELECT top 1 成本价 From {产品表} Where [产品编号] = '" & adr("产品编号") & "'Order By 日期 Desc"
dim int as integer = acmd.ExecuteScalar