jj: fix final indicies, switch to first tab on load
This commit is contained in:
parent
3a9338b8a6
commit
bc23d53bca
@ -49,6 +49,8 @@ Public Class frmAdministration
|
|||||||
btnUserManager.Enabled = False
|
btnUserManager.Enabled = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
tabctrl_Profilkonfig.SelectedIndex = 0
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox("Fehler bei Laden der Wertehilfen und Konfig-Daten: " & vbNewLine & ex.Message, MsgBoxStyle.Critical, "Achtung:")
|
MsgBox("Fehler bei Laden der Wertehilfen und Konfig-Daten: " & vbNewLine & ex.Message, MsgBoxStyle.Critical, "Achtung:")
|
||||||
End Try
|
End Try
|
||||||
@ -865,17 +867,21 @@ Public Class frmAdministration
|
|||||||
|
|
||||||
End If
|
End If
|
||||||
Dim i, ID As Integer
|
Dim i, ID As Integer
|
||||||
i = TBPM_PROFILE_FINAL_INDEXINGDataGridView.CurrentRow.Index
|
Try
|
||||||
ID = TBPM_PROFILE_FINAL_INDEXINGDataGridView.Item(0, i).Value
|
i = TBPM_PROFILE_FINAL_INDEXINGDataGridView.CurrentRow.Index
|
||||||
If ID > 0 Then
|
ID = TBPM_PROFILE_FINAL_INDEXINGDataGridView.Item(0, i).Value
|
||||||
CURRENT_INDEX_ID = ID
|
If ID > 0 Then
|
||||||
CURRENT_DESIGN_TYPE = "FINAL_INDEX"
|
CURRENT_INDEX_ID = ID
|
||||||
CURRENT_SQL_COMAMND = SQL_COMMANDTextBox.Text
|
CURRENT_DESIGN_TYPE = "FINAL_INDEX"
|
||||||
CURRENT_SQL_CON = CONID
|
CURRENT_SQL_COMAMND = SQL_COMMANDTextBox.Text
|
||||||
CURRENT_ProfilGUID = PROFILGUIDTextBox.Text
|
CURRENT_SQL_CON = CONID
|
||||||
|
CURRENT_ProfilGUID = PROFILGUIDTextBox.Text
|
||||||
|
|
||||||
frmSQL_DESIGNER.ShowDialog()
|
frmSQL_DESIGNER.ShowDialog()
|
||||||
End If
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
clsLogger.Add("Error while operating on TBPM_PROFILE_FINAL_INDEXINGDataGridView: " & ex.Message)
|
||||||
|
End Try
|
||||||
|
|
||||||
Refresh_Final_indexe()
|
Refresh_Final_indexe()
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user