我有一个名为Manual_Ticket_Listing的表,我正在尝试创建一个表单,允许用户添加,编辑和删除此表中的记录。目前正在处理添加功能并且是VBA的新手,不知道我的问题是什么。我收到的当前错误是" INSERT INTO语句中的语法错误。"
CurrentDb.Execute "INSERT INTO Manual_Ticket_Listing (Ticket_Date, Ticket_Time, PVL_Ticket, FL_Ticket, Customer_Name, Truck_Description, Truck_Gross_Weight, Truck_Tare_Weight, Truck_Net_Weight, Tons, M
aterial,Scale Attendent Initials)" &安培; _ "价值观('"& Me.Ticket_Date&",'"& Me.Ticket_Time&"'' "& _ Me.PVL_Ticket& "''" &安培; Me.FL_Ticket& "''" &安培; Me.Customer_Name& "''" &安培; Me.Truck_Description& "''" &安培; Me.Truck_Gross_Weight& "''" &安培; _ Me.Truck_Tare_Weight& "''" &安培; Me.Truck_Net_Weight& "''" &安培; Me.Tons& "''" &安培; Me.Material& "''" &安培; Me.Scale_Attendent_Initials& "')"