divers
This commit is contained in:
@@ -983,7 +983,12 @@ Public Class frmMitarbDetails
|
||||
Private Sub cboFirma_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cboFirma.SelectedIndexChanged
|
||||
cboTeam.Items.Clear()
|
||||
If cboFirma.Text <> "" Then
|
||||
cboTeam.fillWithSQL("SELECT team_id, team_bezeichnung FROM tblTeams WHERE team_firma='" & cboFirma.Text & "'", False, "ADMIN", True)
|
||||
If cboFirma.Text = "ALLE" Then
|
||||
cboTeam.fillWithSQL("SELECT team_id, team_bezeichnung FROM tblTeams WHERE team_firma='" & cboFirmaHaupt.Text & "'", False, "ADMIN", True)
|
||||
Else
|
||||
cboTeam.fillWithSQL("SELECT team_id, team_bezeichnung FROM tblTeams WHERE team_firma='" & cboFirma.Text & "'", False, "ADMIN", True)
|
||||
|
||||
End If
|
||||
End If
|
||||
cboFirmaHaupt.Enabled = (cboFirma.Text = "ALLE")
|
||||
End Sub
|
||||
|
||||
Reference in New Issue
Block a user