With the file I am working with I use this SQL to move information from one table to another. The RO field is a number but used to be text in one table and has always been a number in the other. I had to change my file to number. However, I am new at this and it is giving me a Type Conversion Error and will not add to the table. I am pretty sure it is to do with the RO field. Does this have something to do with the quotations and apostrophes for the that particular field since it is a number? It did work until I had to adjust the field from text.
DoCmd.RunSQL "INSERT INTO [ROs To Be Deleted From ScoreCard] VALUES(" & Me.RO & ",'" & Me.SRCM & "','" & Me.CM_ID & "','" & Me.Commodity_Mgr & "','" & Me.MPN & "','" & Me.ME & "','" & Me.Serial_Number & "','" & Me.VID & "','" & Me.Vendor & "','" & Me.ScrubCode & "','" & Me.ScrubComments & "','" & Me.SrComments & "',#" & Date & "#);"
Thank you in advance.
DoCmd.RunSQL "INSERT INTO [ROs To Be Deleted From ScoreCard] VALUES(" & Me.RO & ",'" & Me.SRCM & "','" & Me.CM_ID & "','" & Me.Commodity_Mgr & "','" & Me.MPN & "','" & Me.ME & "','" & Me.Serial_Number & "','" & Me.VID & "','" & Me.Vendor & "','" & Me.ScrubCode & "','" & Me.ScrubComments & "','" & Me.SrComments & "',#" & Date & "#);"
Thank you in advance.