Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Private Function WhereLikeString() As String 'If there is more than one item in the listbox, then need to create like strings for each item 'in the list box as a parameter to the sql statement Dim i As Integer Dim strWhere As String Dim strArray() As String For i = 0 To lstMerchants.ListCount - 1 ReDim Preserve strArray(i) strArray(i) = lstMerchants.ItemData(i) strWhere = strWhere & "GLMerchant Like '" & strArray(i) & "' OR " Debug.Print strWhere Next i WhereLikeString = " AND " & Left(strWhere, Len(strWhere) - 4) Debug.Print WhereLikeString End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.