Hi everybody,
I want to compare value in database with a textfield. And if it exists then not add to the textfield. So the value can only be once in the textfield. I have it like this:
If (txtOpmerking.Text.Contains("CompJobFicheRemarks").ToString) Then
txtOpmerking.Text = ""
Else
txtOpmerking.Text = objComp.GetVal("CompJobFicheRemarks") & vbCrLf & txtOpmerking.Text
End If
End If
End Sub
THank you

albert albertRank #2,683 · 519 reputationPosted Mar 5, 2014, 12:34 AM EST
SUNIL GUTTARank #1,832 · 810 reputationPosted Mar 5, 2014, 2:01 AM EST
but issue may be with else statement or db
error info plz ? compile or runtime with description will be appreciated
Regards
albert albertRank #2,683 · 519 reputationPosted Mar 5, 2014, 6:03 AM EST
Thanks for your answare. I have solved with Indexof.
Greetings,
Savant