Microsoft
Software
Hardware
Network
Question : runtime error 3134 access
I am doing a simple Sql Query and I am getting the runtime error 3134. I have a similar query working in the database with other tables. all the fields are the same field lenth and have the same atributes.
Here is the query for any one to help.
vate Sub Command76_Click()
Dim strSQL As String
strSQL = "INSERT INTO [Non-Stock] ( Item-Description, 2_description, UOM-Mult, K2, Unit-Cost, Manf-Number, Manf-Code, Unit-Cost-UOM, K_Mesure, Lawson-Item-Nbr) SELECT [User Table].Description, [User Table].[2nd Description], [User Table].K1, [User Table].K2, [User Table].Price, [User Table].Product_Num, [User Table].Manufacturer, [User Table].A_measure, [User Table].K_measure, [User Table].Client_Num FROM [User Table] Where Client_Num is null "
DoCmd.SetWarnings False
DoCmd.RunSQL strSQL
DoCmd.SetWarnings True
End Sub
Answer : runtime error 3134 access
I think you should put field that have '-' in []
For ex: [Item-Description]
Random Solutions
Keeping Look Ups in a Make Tabel Query
using string inside a sql string with EXECUTE sp_executesql
Calander pop up control in tables
Remote printing under terminal services w/ HP PSC 1350
SRVANY where to download the most recent version?
thread to simulate several executions
Insert Link to File Excel 2007
Sum data in multiple fields and store number in another field
Why is this so hard? Form2.show() Form1.hide() Does .Net not support this?
how to exclude one of the table during imp/exp?