MS_04.01
This commit is contained in:
@@ -150,7 +150,7 @@ Module ModuleHelperMethods
|
||||
Public Function GetControlID_for_RecordID(name As String, recID As Integer) As Integer
|
||||
Try
|
||||
Dim SQL = "SELECT CONTROL_ID FROM VWPMO_VALUES WHERE RECORD_ID = " & recID & " and CONTROL_NAME = '" & name & "'"
|
||||
Dim ID As Integer = ClassDatabase.Execute_Scalar(SQL)
|
||||
Dim ID As Integer = ClassDatabase.Execute_Scalar(SQL, True)
|
||||
If ID > 0 Then
|
||||
Return ID
|
||||
Else
|
||||
|
||||
Reference in New Issue
Block a user