Add Controls to SQLEditor placeholders
This commit is contained in:
@@ -20,6 +20,10 @@ Public Class ClassSQLEditor
|
||||
Using oForm As New frmSQLEditor(LOGCONFIG, DatabaseECM)
|
||||
oForm.SQLCommand = SQLSTring
|
||||
|
||||
oForm.PlaceholdersManualPrefix = "CTRL"
|
||||
oForm.PlaceholdersManualTitle = "Controls"
|
||||
oForm.PlaceholdersManual = CURRENT_CONTROL_LIST.ToDictionary(Function(control) control.Name, Function(control) control.Name)
|
||||
|
||||
If svc.ShowDialog(oForm) = DialogResult.OK Then
|
||||
Dim sql As New SQLValue(oForm.SQLCommand)
|
||||
CURRENT_SQL_CON = oForm.SQLConnection
|
||||
|
||||
Reference in New Issue
Block a user