KNOWLEDGE BASE
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

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