4D View v16

PV CLEAR DYNAMIC COLUMNS

Home

 
4D View v16
PV CLEAR DYNAMIC COLUMNS

PV CLEAR DYNAMIC COLUMNS 


 

PV CLEAR DYNAMIC COLUMNS ( area ; start ; number ) 
Parameter Type   Description
area  Longint in 4D View area
start  Longint in Start column number
number  Longint in Number of columns

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

 
PROPERTIES 

Product: 4D View
Theme: PV Cell value
Number: 15898

 
HISTORY 

Created: 4D View 6.8

 
ARTICLE USAGE

4D View Language ( 4D View v16)