KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: TABLE NAME can also take in a field pointer
PRODUCT: 4D | VERSION: 15.x | PLATFORM: Mac & Win
Published On: December 16, 2016

Although not documented in https://livedoc.4d.com/4D-Language-Reference-15.1/Structure-Access/Table-name.301-2685361.en.html, the command TABLE NAME can also take in a field pointer in the first parameter:

ex:

$tableName:=Table name(->[User]ID)

$tableName will return "User".