Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub BuildTechWhere()
On Error GoTo TechError
Dim arrTech() As String
Dim intElement As Integer
arrTech = Split(txtTechNum.Value, vbCrLf)
If UBound(arrTech()) = 0 Then
strTech = "pay_tech = '" & arrTech(0) & "'"
Else
strTech = "pay_tech IN("
For intElement = 0 To UBound(arrTech())
strTech = strTech & "'" & arrTech(intElement) & "'"
If intElement <> UBound(arrTech()) Then strTech = strTech & ","
Next intElement
strTech = strTech & ")"
End If
Erase arrTech
Exit Sub
TechError:
MsgBox "Text box error " & Err.Number & vbCrLf & Err.Description
End Sub