Command AP Get table info

4D Pack

AP Get table info

version 6.0.5


AP Get table info (table; invisible; destruct) Integer

ParameterTypeDescription
tableIntegerTable number
invisibleInteger1, if the table is invisible
0, if the table is visible
destructInteger1, for physical deletion of the records
0, for logical deletion of the records

Function result Integer Error code

Description

AP Get table info returns information on 4D tables.

Given the table number, the invisible parameter is set to 1 if the table is declared as invisible in Design mode, otherwise it is set 0.

The destruct variable is set to 1 for physical deletion of the records, or 0 for logical deletion. The physical deletion of the records is slower than the logical one but it prevents the record from reappearing in case of a "recover by tags" operation.