MS18.10.2017
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Return ClassDatabase.Execute_non_Query(SQL) = True
|
||||
End Function
|
||||
Public Shared Function GetLastRecord()
|
||||
Dim SQL = "SELECT (MAX(GUID)) FROM TBPMO_RECORD where PARENT_RECORD = 0 AND FORM_ID = " & CURRENT_ENTITY_ID & " AND UPPER(ADDED_WHO) = '" & USER_USERNAME & "'"
|
||||
Dim SQL = String.Format("SELECT MAX(GUID) FROM TBPMO_RECORD where PARENT_RECORD = 0 AND FORM_ID = {0} AND UPPER(ADDED_WHO) = UPPER('{1}') AND DELETED = 0", CURRENT_ENTITY_ID, USER_USERNAME)
|
||||
Return ClassDatabase.Execute_Scalar(SQL)
|
||||
End Function
|
||||
|
||||
|
||||
Reference in New Issue
Block a user