CurrentDb.Execute "DELETE MkFrmFunc_Table.Region, MkFrmFunc_Table.SubRegion, MkFrmFunc_Table.Segment, MkFrmFunc_Table.Sector, MkFrmFunc_Table.Product, MkFrmFunc_Table.Percentage, MkFrmFunc_Table.Volume, MkFrmFunc_Table.Ingredient FROM MkFrmFunc_Table WHERE ((MkFrmFunc_Table.Region = '" & Me.Region_Combo.Column(1) & "') And (MkFrmFunc_Table.SubRegion = '" & Me.SubRegion_Combo & "') And (MkFrmFunc_Table.Segment = '" & Me.Segment_Combo.Column(1) & "') And (MkFrmFunc_Table.Sector= '" & Me.Sector_Combo.Column(1) & "') AND (MkFrmFunc_Table.Product= '" & Me.Product_Combo & "') AND (MkFrmFunc_Table.Percentage= '" & Me.Percentage_Text1 & "')AND (MkFrmFunc_Table.Volume = '" & Me.Volume_Text1 & "')AND (MkFrmFunc_Table.Ingredient= '" & Me.Ingredient_Combo1 & "'))"
I get this error, specifically at the '" & Me.Volume_Text1 & "' part. It is a number and I tried to just put " & Me.Volume_Text & " but then it says Run time error 3075, saying there is an extra parentheses in query expression. Any clue?
I get this error, specifically at the '" & Me.Volume_Text1 & "' part. It is a number and I tried to just put " & Me.Volume_Text & " but then it says Run time error 3075, saying there is an extra parentheses in query expression. Any clue?