Trevor G
Registered User.
- Local time
- Today, 16:33
- Joined
- Oct 1, 2009
- Messages
- 2,367
I have the following code to try and update a field but it seems to fail at the strSQL statement with Error Number 3129 coming up, doesn't recognise UPDATE.
One field called SlipId has records which begin with "L" and where they can be found I a requirement to update a field called Headings with Binder Decs Earn
Function upDatePhoenix3()
Dim strSQL As String
strSQL = "UPDATE [Combined data
hoenix] Set [Combined data
hoenix].Headings = 'Binder Decs Earn' "
strSQL = "WHERE ((([Combined data
hoenix].SlipId) Like 'L*')); "
Debug.Print strSQL
DoCmd.RunSQL strSQL
End Function
One field called SlipId has records which begin with "L" and where they can be found I a requirement to update a field called Headings with Binder Decs Earn
Function upDatePhoenix3()
Dim strSQL As String
strSQL = "UPDATE [Combined data
strSQL = "WHERE ((([Combined data
Debug.Print strSQL
DoCmd.RunSQL strSQL
End Function