Hi All,
I am trying to made a button to update the fields on my form.
I developed this but I am guessing it's wrong as getting a 3075 error on it.
Any help would be great please
Code:
CurrentDb.Execute "UPDATE calldata " _& "SET username = & Me.username & " ','" & _
& "SET reportdate = Me.reportdate & " ','" & _
& "SET registration = Me.registration & " ','" & _
& "SET vin = & Me.vin & " ','" & _
& "SET vehmodel = & Me.vehmodel & " ','" & _
& "SET vehengine = & Me.vehengine & " ','" & _
& "SET vehfuel = & Me.vehfuel & " ','" & _
& "SET vehtrans = & Me.vehtrans & " ','" & _
& "SET custtype = & Me.custtype & " ','" & _
& "SET custname = & Me.custname & " ','" & _
& "SET custtel = & Me.custtel & " ','" & _
& "SET custemail = & Me.custemail & " ','" & _
& "SET custconcern = & Me.custconcern & " ','" & _
& "SET cc = & Me.cc & " ','" & _
& "SET as = & Me.as & " ','" & _
& "SET centre = & Me.centre & " ','" & _
& "WHERE reportnumber = & Me.reportnumber & "')"