When I run the following code I get SYNTAX ERROR (MISSING OPERATOR) In a query expression 'Delivered To Party'
How Do I Fix The Following
Please note:
GP Dialog is a query
Purchase Description is a field
Delivered To Party is a field
Private Sub CboD2Pty_AfterUpdate()
Dim strSource As String
strSource = "SELECT Delivered To Party " & _
"FROM GP Dialog " & _
"WHERE Purchase Description = '" & Me.CboD2Pty & "' ORDER BY Delivered To Party"
Me.cboPdiscr.RowSource = strSource
Me.cboPdiscr = vbNullString
End Sub