KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to display the name of a table when using a pointer
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: March 14, 2003

When you are using a table pointer, you cannot use the pointer to display the name of the table. To do this, you must use the command, "Table name". The following is an example of how you would use "Table name".

C_POINTER($1)
If (Modified record($1->))
 CONFIRM("Would you like to save the record in "+Table name($1)+"?";"Save";"Don't Save")
 If (ok=1)
  SAVE RECORD($1->)
 End if
End if

https://ftp.4d.com/aci_Technical_notes/ACIDOC/CMU/CMU00256.HTM