Hi,
I'am using below update command to update existing record on the basis of primary key (Instrument_Number) but getting below error
"Syntax Error (Missing Operator).
Can anyone help me to find out the error.
DoCmd.RunSQL "Update Telecalling_database set Calling_end_Date_time = " & Me.timer1.Value & ", Paid_Unpaid_Status = " & Me.Paid_unpaid_status.Value & ", No_of_Premium_Required = " & Me.No_of_Prem_required.Value & ", Calling_Code= " & Me.Calling_code.Value & ", Customer_comments= " & Me.Customer_comments.Value & ", GO_CODE_Ingenium= " & Me.GO_Code.Value & ", Modal_Premium= " & Me.Modal_premium.Value & ", Policy_Paid_To_Date= " & Me.Policy_paid_to_date.Value & ",MFYP_FRYP= " & Me.MFYP_FRYP.Value & ", Frequency= " & Me.Frequency.Value & ", Account_Holder_Name= " & Me.ACt_Holder_Name.Value & ", Client_Name= " & Me.Client_Name.Value & ", Account_Number= " & Me.Account_Number.Value & ", Bank_Name_Ingenium= " & Me.Bank_Name_Ingenium.Value & " WHERE Instrument_Number = " & Me.Instrument_Number.Value & ""
Many Thanks !!!
I'am using below update command to update existing record on the basis of primary key (Instrument_Number) but getting below error
"Syntax Error (Missing Operator).
Can anyone help me to find out the error.
DoCmd.RunSQL "Update Telecalling_database set Calling_end_Date_time = " & Me.timer1.Value & ", Paid_Unpaid_Status = " & Me.Paid_unpaid_status.Value & ", No_of_Premium_Required = " & Me.No_of_Prem_required.Value & ", Calling_Code= " & Me.Calling_code.Value & ", Customer_comments= " & Me.Customer_comments.Value & ", GO_CODE_Ingenium= " & Me.GO_Code.Value & ", Modal_Premium= " & Me.Modal_premium.Value & ", Policy_Paid_To_Date= " & Me.Policy_paid_to_date.Value & ",MFYP_FRYP= " & Me.MFYP_FRYP.Value & ", Frequency= " & Me.Frequency.Value & ", Account_Holder_Name= " & Me.ACt_Holder_Name.Value & ", Client_Name= " & Me.Client_Name.Value & ", Account_Number= " & Me.Account_Number.Value & ", Bank_Name_Ingenium= " & Me.Bank_Name_Ingenium.Value & " WHERE Instrument_Number = " & Me.Instrument_Number.Value & ""
Many Thanks !!!