DAtabase integriert
This commit is contained in:
@@ -9,7 +9,7 @@ Public Class ClassFunctionCommandsUI
|
||||
reminder.AlertTime = DueDateTime
|
||||
apt.Reminders.Add(reminder)
|
||||
|
||||
Dim Value = ClassDatabase.Execute_Scalar(SQL, True)
|
||||
Dim Value = MYDB_ECM.GetScalarValue(SQL)
|
||||
If Value Is Nothing Then
|
||||
apt.Subject = Subject & " - " & Value.ToString()
|
||||
Else
|
||||
@@ -37,7 +37,7 @@ Public Class ClassFunctionCommandsUI
|
||||
reminder.AlertTime = DueDateTime
|
||||
apt.Reminders.Add(reminder)
|
||||
|
||||
Dim Value = ClassDatabase.Execute_Scalar(SQL, True)
|
||||
Dim Value = MYDB_ECM.GetScalarValue(SQL)
|
||||
|
||||
apt.Subject = Subject & " - " & Value.ToString()
|
||||
apt.Description = Description
|
||||
@@ -55,7 +55,7 @@ Public Class ClassFunctionCommandsUI
|
||||
Dim controlID = GetControlID_for_Name(ControlName, FormID)
|
||||
|
||||
Dim SQL = "SELECT UniqueID FROM TBPMO_APPOINTMENTS WHERE CustomField1 = " & RecordID & " AND CustomField2 = " & controlID
|
||||
Dim result = ClassDatabase.Execute_Scalar(SQL)
|
||||
Dim result = MYDB_ECM.GetScalarValue(SQL)
|
||||
|
||||
If result Is Nothing Then
|
||||
NewAppointment(ControlName, FormID, RecordID, PanelControls)
|
||||
|
||||
Reference in New Issue
Block a user