D
DS
This statement is not updating. All of the criteria is there, These are all
number fields.
Thanks
DS
Dim QTYSQL As String
'DoCmd.SetWarnings False
QTYSQL = "UPDATE tblCheckDetailsTMP SET tblCheckDetailsTMP.CDQuantity =
Forms!frmFXDiscountItem!TxtQTY " & _
"WHERE tblCheckDetailsTMP.CDCheckID = Forms!frmFXDiscountSelect!TxtCheckID "
& _
"AND tblCheckDetailsTMP.CDGroupID = Forms!frmFXDiscountItem!TxtGroupID " & _
"AND tblCheckDetailsTMP.CDSubGroupID =
Forms!frmFXDiscountItem!TxtSubGroupID;"
DoCmd.RunSQL (QTYSQL)
'DoCmd.SetWarnings True
number fields.
Thanks
DS
Dim QTYSQL As String
'DoCmd.SetWarnings False
QTYSQL = "UPDATE tblCheckDetailsTMP SET tblCheckDetailsTMP.CDQuantity =
Forms!frmFXDiscountItem!TxtQTY " & _
"WHERE tblCheckDetailsTMP.CDCheckID = Forms!frmFXDiscountSelect!TxtCheckID "
& _
"AND tblCheckDetailsTMP.CDGroupID = Forms!frmFXDiscountItem!TxtGroupID " & _
"AND tblCheckDetailsTMP.CDSubGroupID =
Forms!frmFXDiscountItem!TxtSubGroupID;"
DoCmd.RunSQL (QTYSQL)
'DoCmd.SetWarnings True