brucerwalker
Registered User.
- Local time
- Today, 07:39
- Joined
- Sep 23, 2015
- Messages
- 24
I have a form with a sub form in it. I have various ways to search for data with drop down boxes to pick from a list and then hit a button to search. I have one that is not working properly. It is a drop where one can pick a part number and then when you search it should bring up all records related to that part number. However I get run time error 3135 and it says syntax error in Join operation. The code it is running I think is;
'Field Parts
If (Not IsNull(Me.ComboSearchPart)) Then
query = query & " INNER JOIN TEST ON ( Request.RequestID = Test.RequestID AND Test.PartNumber = '" & Me.ComboSearchPart & "')"
End If
Any help solving this problem would be greatly appreciated.
'Field Parts
If (Not IsNull(Me.ComboSearchPart)) Then
query = query & " INNER JOIN TEST ON ( Request.RequestID = Test.RequestID AND Test.PartNumber = '" & Me.ComboSearchPart & "')"
End If
Any help solving this problem would be greatly appreciated.