adddeveloper
Programmer
Here's my code, but it's not getting caught:
If Len(Trim(txtASBRes.Text)) > 0 And InStrtxtASBRes.Text, "|") = 0 Then
'Means there are characters for the Resource code
' and no pipecleaner = didn't use ddl for name
lblResCodeWarn.Visible = True
lblResCodeWarn.Text = "* Use list!"
Exit Sub
End If
If the user just types something in and doesn't use the autosuggest text box, then I want to tell them via a warning they need to use the values from the dropdown list. The above code isn't getting caught though.
Any suggestions are welcome!
Thanks!
If Len(Trim(txtASBRes.Text)) > 0 And InStrtxtASBRes.Text, "|") = 0 Then
'Means there are characters for the Resource code
' and no pipecleaner = didn't use ddl for name
lblResCodeWarn.Visible = True
lblResCodeWarn.Text = "* Use list!"
Exit Sub
End If
If the user just types something in and doesn't use the autosuggest text box, then I want to tell them via a warning they need to use the values from the dropdown list. The above code isn't getting caught though.
Any suggestions are welcome!
Thanks!