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
Excel dynamic names (functions)
How do I select prior month data from last year in a query?
How do I keep a running sum on a form in Access 2003?
Problem with Linq query - undesired casting of result type to WhereEnumerableIterator
No Licence for Access 97 on NT4
Cursor method: Error Msg
copying os off 1 hard drive to another using windows 7 and USB
Disable the Confirm question for action queries in VBA
" can't move the items. the file path\filename.pst could not be accessed Outlook 2003 Under XP
Urgent System.UnauthorizedAccessE<wbr />xception