Skip to main content
Version: 20 R7 BETA

Current method name

Current method name : Text

ParameterTypeDescription
Function resultTextCalling method name

Description

The Current method name command returns the method name where it has been invoked. This command is useful for debugging generic methods.

According to the calling method type, the returned string can be as follows:

Calling MethodReturned string
Database MethodMethodName
TriggerTrigger on [TableName]
Project MethodMethodName
Table Form Method[TableName].FormName
Project Form MethodFormName
Table Form Object Method[TableName].FormName.ObjectName
Project Form Object MethodFormName.ObjectName
Class ConstructorClassName:constructor
Class FunctionClassName.FunctionName
Component Project MethodMethodName
Component Project Form MethodFormName(ComponentName)
Component Project Form Object MethodFormName(ComponentName).ObjectName(ComponentName)

This command cannot be called from within a 4D formula.

Note: For this command to be able to operate in compiled mode, it must not be included in code for which range checking has been disabled. See Range checking.