GET TABLE PROPERTIES
GET TABLE PROPERTIES ( tablePtr|tableNum ; invisible {; trigSaveNew {; trigSaveRec {; trigDelRec {; trigLoadRec}}}} )
Parameter | Type | Description | |
---|---|---|---|
tablePtr|tableNum | Pointer, Longint | → | Table pointer or Table number |
invisible | Boolean | ← | True = Invisible, False = Visible |
trigSaveNew | Boolean | ← | True = Trigger “On saving new record” activated; otherwise, False |
trigSaveRec | Boolean | ← | True = Trigger “On saving an existing record” activated; otherwise, False |
trigDelRec | Boolean | ← | True = Trigger “On deleting a record” activated; otherwise, False |
trigLoadRec | Boolean | ← | *** 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 number | 687 |
Thread safe | ✓ |