jj: fix bug in CheckWrite_IndexeMan
This commit is contained in:
parent
433155e804
commit
073ecb9084
@ -544,6 +544,7 @@ Public Class frmIndex
|
||||
Const LOOKUP_CONTROL_HEIGHT As Integer = 24
|
||||
|
||||
Dim lookupButton As New Button()
|
||||
lookupButton.Name = "btnLookup" & indexname
|
||||
lookupButton.Location = New Point(311, y - 1)
|
||||
lookupButton.Size = New Size(LOOKUP_CONTROL_HEIGHT, LOOKUP_CONTROL_HEIGHT)
|
||||
lookupButton.Image = My.Resources.gear_32xSM
|
||||
@ -905,7 +906,7 @@ Public Class frmIndex
|
||||
End If
|
||||
End If
|
||||
If ctrl.Name.StartsWith("cmbMulti") Then
|
||||
Dim cmbMulti As DevExpress.XtraEditors.LookUpEdit = ctrl
|
||||
Dim cmbMulti As DevExpress.XtraEditors.GridLookUpEdit = ctrl
|
||||
|
||||
If cmbMulti.Text = "" Then
|
||||
Dim optional_index As Boolean = ClassDatabase.Execute_Scalar("SELECT OPTIONAL FROM TBDD_INDEX_MAN WHERE DOK_ID = " & dokartid & " AND NAME = '" & Replace(cmbMulti.Name, "cmbMulti", "") & "'", MyConnectionString, True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user