This commit is contained in:
2023-09-20 10:18:37 +02:00
parent f46065ef1e
commit 791b0ad4be
2 changed files with 27 additions and 27 deletions

View File

@@ -200,7 +200,7 @@ Public Class usrCntlMitarbeiter
If dt.Columns.Count > 0 Then
If txtSuche.Text <> "" Then
dt.DefaultView.RowFilter = "lastname like '%" & txtSuche.Text & "%' or firstname like '%" & txtSuche.Text & "%' or pnr1 like '%" & txtSuche.Text & "%' or info like '%" & txtSuche.Text & "%'"
dt.DefaultView.RowFilter = "Vorname like '%" & txtSuche.Text & "%' or Nachname like '%" & txtSuche.Text & "%' or 'Personal-Nr (Lohn)' like '%" & txtSuche.Text & "%' or Info like '%" & txtSuche.Text & "%'"
Else
dt.DefaultView.RowFilter = Nothing
End If