R
Ron
Hello,
Can anyone help me understand why access does not like
this statement?
If [Forms]![Phone Observation Maintenance].[ErrPoint]
= 6 Then
SQLStr1 = "UPDATE Call Error Xref Table (ErrPoint)"
SQLStr2 = "SET ErrPoint = 1"
SQLStr3 = "WHERE [Call Error Xref Table].[CallID] ="
SQLStr4 = [Forms]![Phone Observation Maintenance].
[CallID] & ");"
SQLStr5 = SQLStr1 & SQLStr2 & SQLStr3 & SQLStr4
DoCmd.RunSQL SQLStr5
End If
All I am trying to do is update the field "ErrPoint" to a
new value. I'm trying to update the specific record where
the form's CallID field is equal to the table's CallID
field so that it does not put in an extra record. What is
wrong with this statement?
Your assistance is greatly appreciated.
Thank you!
Ron
Can anyone help me understand why access does not like
this statement?
If [Forms]![Phone Observation Maintenance].[ErrPoint]
= 6 Then
SQLStr1 = "UPDATE Call Error Xref Table (ErrPoint)"
SQLStr2 = "SET ErrPoint = 1"
SQLStr3 = "WHERE [Call Error Xref Table].[CallID] ="
SQLStr4 = [Forms]![Phone Observation Maintenance].
[CallID] & ");"
SQLStr5 = SQLStr1 & SQLStr2 & SQLStr3 & SQLStr4
DoCmd.RunSQL SQLStr5
End If
All I am trying to do is update the field "ErrPoint" to a
new value. I'm trying to update the specific record where
the form's CallID field is equal to the table's CallID
field so that it does not put in an extra record. What is
wrong with this statement?
Your assistance is greatly appreciated.
Thank you!
Ron