Hi guys
i am having trouble with the syntax of the VBA for this a query.
The first part works but the second doesn't. Any ideas?
Cheers
i am having trouble with the syntax of the VBA for this a query.
The first part works but the second doesn't. Any ideas?
Code:
strWhere1 = " WHERE [Product Description] in (" & Left(strIN, Len(strIN) - 1) & ")"
strWhere2 = " AND ([Location] Like IIf('" & [Forms]![frmDataEntry]![fltrLocation] & "'=<All>, * ,'" & [Forms]![frmDataEntry]![fltrLocation] & "'))"
Cheers