4D v16.3

GET TABLE PROPERTIES

Home

 
4D v16.3
GET TABLE PROPERTIES

GET TABLE PROPERTIES 


 

GET TABLE PROPERTIES ( tablePtr|tableNum ; invisible {; trigSaveNew {; trigSaveRec {; trigDelRec {; trigLoadRec}}}} ) 
Parameter Type   Description
tablePtr|tableNum  Pointer, Longint in Table pointer or Table number
invisible  Boolean in True = Invisible, False = Visible
trigSaveNew  Boolean in True = Trigger “On saving new record” activated; otherwise, False
trigSaveRec  Boolean in True = Trigger “On saving an existing record” activated; otherwise, False
trigDelRec  Boolean in True = Trigger “On deleting a record” activated; otherwise, False
trigLoadRec  Boolean in *** Do not use (obsolete) ***

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 

Product: 4D
Theme: Structure Access
Number: 687

This command can be run in preemptive processes

 
HISTORY 

Modified: 4D v11 SQL Release 2

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)