Log In    |    Knowledge Base    |    4D Home
Tech Tip: Retrieving the name of the one table or field based on the many field
PRODUCT: 4D | VERSION: 2004.1 | PLATFORM: Mac & Win
Published On: March 31, 2005
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Versions: 2003 and 2004

Here is a project method that returns the name of the One table or field based on the given pointer to a many field.

` Method: GetOneName
` Usage:
` $vtablename:= GetOneName(->[ManyTable]fieldname;False)
` $vfieldname:= GetOneName(->[ManyTable]fieldname;True)

Example Code