MS GridFocus Datasource
This commit is contained in:
@@ -527,12 +527,15 @@ Public Class ClassControlCreator
|
||||
Try
|
||||
Dim oComboboxDataTable As DataTable = Nothing
|
||||
Dim oColumnName As String = oRow.Item("SPALTENNAME")
|
||||
|
||||
Logger.Debug("Working on SQL for Column[{0}]...", oColumnName)
|
||||
If Not clsPatterns.HasComplexPatterns(oSqlCommand) Then
|
||||
Logger.Debug("SQL has no complex patterns!")
|
||||
'oComboboxDataTable = ClassDatabase.Return_Datatable_ConId(oSqlCommand, oConnectionId)
|
||||
oComboboxDataTable = Database.GetDatatable(New GetDatatableOptions(oSqlCommand, DatabaseType.ECM) With {
|
||||
.ConnectionId = oConnectionId
|
||||
})
|
||||
Else
|
||||
Logger.Debug("...has complex patterns!!")
|
||||
End If
|
||||
|
||||
Dim oRepositoryItem = GridTables_GetRepositoryItemForColumn(oColumnName, oComboboxDataTable, oRow.Item("ADVANCED_LOOKUP"))
|
||||
|
||||
Reference in New Issue
Block a user