Skip to main content
Version: Next

GET TABLE PROPERTIES

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

ParameterTypeDescription
tablePtr|tableNumPointer, Longint🡒Table pointer or Table number
invisibleBoolean🡘True = Invisible, False = Visible
trigSaveNewBoolean🡘True = Trigger “On saving new record” activated; otherwise, False
trigSaveRecBoolean🡘True = Trigger “On saving an existing record” activated; otherwise, False
trigDelRecBoolean🡘True = 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