R
Rpettis31
I get this "The value is entered isn't valid for this field"; error.
This is from a button that pulls data from a subform. This button used to
work, and works on other records. So I am not sure as to why this is now
occurring.
I am using Access XP
This is my code
Private Sub cmdUpdateCost_Click() 'Syteline btn click event
' On Error GoTo Err_cmdUpdateCost_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
<<I get an error on each line of this code when I comment out and try to
resume>>
' Assign values from Syteline Std Cost fields
Me.txtFreightStdCost = Me.subfrmDebitCost!FrieghtCost
Me.txtStdDutyCost = Me.subfrmDebitCost!DutyCost
Me.txtStdMaterial = Me.subfrmDebitCost!MaterialCost
Me.txtStdMatlsCost = Me.subfrmDebitCost!UnitCost
Me.txtstdBrokerageCost = Me.subfrmDebitCost!Brokerage
This is from a button that pulls data from a subform. This button used to
work, and works on other records. So I am not sure as to why this is now
occurring.
I am using Access XP
This is my code
Private Sub cmdUpdateCost_Click() 'Syteline btn click event
' On Error GoTo Err_cmdUpdateCost_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
<<I get an error on each line of this code when I comment out and try to
resume>>
' Assign values from Syteline Std Cost fields
Me.txtFreightStdCost = Me.subfrmDebitCost!FrieghtCost
Me.txtStdDutyCost = Me.subfrmDebitCost!DutyCost
Me.txtStdMaterial = Me.subfrmDebitCost!MaterialCost
Me.txtStdMatlsCost = Me.subfrmDebitCost!UnitCost
Me.txtstdBrokerageCost = Me.subfrmDebitCost!Brokerage