Fix intial lookup datasource being empty
This commit is contained in:
parent
0dda127903
commit
eae00db67f
@ -608,6 +608,7 @@ Public Class ClassControlCreator
|
|||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
Next
|
Next
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
Logger.Error(ex)
|
||||||
Finally
|
Finally
|
||||||
@ -658,6 +659,9 @@ Public Class ClassControlCreator
|
|||||||
oView2.UpdateCurrentRow()
|
oView2.UpdateCurrentRow()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
' 08.11.2021: Fix editor being empty on first open
|
||||||
|
oView.FocusInvalidRow()
|
||||||
|
|
||||||
Return oControl
|
Return oControl
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
@ -916,8 +920,7 @@ Public Class ClassControlCreator
|
|||||||
If Not IsDBNull(oSqlStatement) And Not IsDBNull(oSqlStatement) Then
|
If Not IsDBNull(oSqlStatement) And Not IsDBNull(oSqlStatement) Then
|
||||||
oSqlStatement = clsPatterns.ReplaceAllValues(oSqlStatement, pControlPanel, True)
|
oSqlStatement = clsPatterns.ReplaceAllValues(oSqlStatement, pControlPanel, True)
|
||||||
|
|
||||||
ClassControlCreator.GridTables_CacheDatatableForColumn(oControlId, oColumnName, oSqlStatement, oConnectionId, oAdvancedLookup)
|
GridTables_CacheDatatableForColumn(oControlId, oColumnName, oSqlStatement, oConnectionId, oAdvancedLookup)
|
||||||
|
|
||||||
|
|
||||||
' === Block to force setting the editor for GridColumns
|
' === Block to force setting the editor for GridColumns
|
||||||
For Each oControl As Control In pControlPanel.Controls
|
For Each oControl As Control In pControlPanel.Controls
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user