G
Guest
I am having a problem with my update query.
Reading.value is a combo box on the same form as the button that executes
this query. It executes an insert query first which works fine, and then an
update query which also works fine. The update query below then returns
"syntax error (missing operator) in query expression 'Entry 1'."
'Entry 1' is the selected value of Me.Reading.
Am I missing something obvious??
DoCmd.RunSQL "UPDATE [Entrants_Temp_Split] SET [Level] = " &
Me.Reading.Value & " WHERE (([Entrants_Temp_Split].[Person Code2] = " &
Me.dummy_person_code.Value & ") AND ([Entrants_Temp_Split].[Type] =
""Reading""));"
Reading.value is a combo box on the same form as the button that executes
this query. It executes an insert query first which works fine, and then an
update query which also works fine. The update query below then returns
"syntax error (missing operator) in query expression 'Entry 1'."
'Entry 1' is the selected value of Me.Reading.
Am I missing something obvious??
DoCmd.RunSQL "UPDATE [Entrants_Temp_Split] SET [Level] = " &
Me.Reading.Value & " WHERE (([Entrants_Temp_Split].[Person Code2] = " &
Me.dummy_person_code.Value & ") AND ([Entrants_Temp_Split].[Type] =
""Reading""));"