Command PV CLEAR DYNAMIC COLUMNS

4D View

PV CLEAR DYNAMIC COLUMNS

version 6.8


PV CLEAR DYNAMIC COLUMNS (area; start; number)

ParameterTypeDescription
areaLongint4D View area
startLongintStart column number
numberLongintNumber of columns

Description

The PV CLEAR DYNAMIC COLUMNS command clears the contents of dynamic column number starting from the column numbered start.

Cleared dynamic columns can come from fields or arrays, created respectively by PV ADD DYNAMIC FIELDS and PV ADD DYNAMIC ARRAYS.

Remaining dynamic columns are rearranged so that the dynamic area always starts at column A and the dynamic area never contains "holes".

The PV CLEAR DYNAMIC COLUMNS command is inoperative when used with one or more columns that do not exclusively use dynamic fields or arrays.

Example

In the example for PV ADD DYNAMIC FIELDS, we built a list entry from the contacts table linked to the current client, with their functions and order numbers. The below method deletes the third column while allowing first and last names to still be modifiable.

   PV CLEAR DYNAMIC COLUMNS (Area;3;1)  `Delete column C

Once this line is executed, the fourth column (D) becomes the third column (C), so that the dynamic area does not contain "holes".

See Also

PV ADD DYNAMIC ARRAYS, PV ADD DYNAMIC FIELDS.