Skip to main content
Version: Next

GET TABLE PROPERTIES

GET TABLE PROPERTIES ( tablePtr : Pointer ; invisible : Boolean {; trigSaveNew : Boolean {; trigSaveRec : Boolean {; trigDelRec : Boolean {; trigLoadRec : Boolean}}}} )
GET TABLE PROPERTIES ( tableNum : Integer ; invisible : Boolean {; trigSaveNew : Boolean {; trigSaveRec : Boolean {; trigDelRec : Boolean {; trigLoadRec : Boolean}}}} )

ParameterTypeDescription
tablePtrPointer→Table pointer
tableNumInteger→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) ***
History
ReleaseChanges
11 SQL Release 2Modified
<6Created

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 safeyes