Skip to main content
Version: 20 R7 BETA

GET TABLE PROPERTIES

GET TABLE PROPERTIES ( tablePtr|tableNum ; invisible {; trigSaveNew {; trigSaveRec {; trigDelRec {; trigLoadRec}}}} )

ParameterTypeDescription
tablePtr|tableNumPointer, LongintTable pointer or Table number
invisibleBooleanTrue = Invisible, False = Visible
trigSaveNewBooleanTrue = Trigger “On saving new record” activated; otherwise, False
trigSaveRecBooleanTrue = Trigger “On saving an existing record” activated; otherwise, False
trigDelRecBooleanTrue = Trigger “On deleting a record” activated; otherwise, False
trigLoadRecBoolean*** Do not use (obsolete) ***

Description

The GET TABLE PROPERTIES command returns the properties for the table passed in tablePtr or tableNum. The table number or a pointer to the table can be passed as first parameter.

Once the command has been executed:

  • The invisible parameter returns True if the “Invisible” attribute has been set for the table, else False. The Invisible attribute allows to hide the table when using 4D standard editors (label, charts...).
  • The trigSaveNew parameter returns True if the “On saving new record” trigger has been set for the table, else False.
  • The trigSaveRec parameter returns True if the “On saving an existing record” trigger has been set for the table, else False.
  • The trigDelRec parameter returns True if the “On deleting a record” trigger has been set for this table, else false.

See also

GET FIELD ENTRY PROPERTIES
GET FIELD PROPERTIES
GET RELATION PROPERTIES

Properties

Command number687
Thread safe