Doozer1979
Registered User.
- Local time
- Today, 09:48
- Joined
- Jul 4, 2007
- Messages
- 32
Hello all,
I'm having a bit of trouble with the follwing VBA code
DoCmd.RunSQL "UPDATE AlertsAM SET StationGroupID = " & Me.txtGroupID.Value & " WHERE(AlertsAM.AlertAMID) = " & Me.txtAlertAMID & ";"
DoCmd.RunSQL "UPDATE AlertsAM SET StationID = " & Me.txtStationID.Value & " WHERE(AlertsAM.AlertAMID) = " & Me.txtAlertAMID & ";"
I get a runtime error of 3075 missing operator in query expression (AlertsAM.AlertAMID) =
Any ideas anyone?
thank you
I'm having a bit of trouble with the follwing VBA code
DoCmd.RunSQL "UPDATE AlertsAM SET StationGroupID = " & Me.txtGroupID.Value & " WHERE(AlertsAM.AlertAMID) = " & Me.txtAlertAMID & ";"
DoCmd.RunSQL "UPDATE AlertsAM SET StationID = " & Me.txtStationID.Value & " WHERE(AlertsAM.AlertAMID) = " & Me.txtAlertAMID & ";"
I get a runtime error of 3075 missing operator in query expression (AlertsAM.AlertAMID) =
Any ideas anyone?
thank you