Private Sub 处方编号_DblClick(Cancel As Integer)
Dim sql As String
sql = "UPDATE 药品出库明细表 SET 药品出库明细表.销售数量 = [Forms]![计算器]![拆零整合] "
sql = " WHERE (((药品出库明细表.处方编号)=[Forms]![计算器]![处方编号]) AND ((药品出库明细表.药品编号)=[Forms]![计算器]![药品编号]));"
DoCmd.RunSQL sql
[Forms]![药品出库表]![药品出库明细表 子窗体].Form.Requery
End Sub