Hello
I am getting the following syntax error (missing operator) in query expression on the below query. I have rewritten the query several times, all my table names and pathways are correct and I am at a loss as to the error in the below code:
Me!ProductName.RowSource = "SELECT DISTINCT [Register of Raw Materials].[Product Name].Value" _
& "FROM [Register of Fibre Suppliers]" _
& "INNER JOIN [Register of Raw Materials]" _
& "ON [Register of Fibre Suppliers].ID = [Register of Raw Materials].[Supplier Name]" _
& " IN '\\pmtwfp0001\public\AP PUBLIC\Chain of Custody Systems\AFS CoC Database\Test_be.accdb'" _
& "WHERE [Register of Raw Materials].[AFS Risk] Not Like 'Significant' AND [Register of Fibre Suppliers].[Supplier Name]='" & Me.Supplier.Column(0) & "'"
The query is in an Access 2010 database and is an "After Update" event. Any help to solve this error would be much appreciated
Thanks Meagan