4D v14.3

Incrementing a set of variables

Home

 
4D v14.3
Incrementing a set of variables

Incrementing a set of variables  


 

 

4D provides a handy shortcut for automatically incrementing a group of variables that has been created in a form. This shortcut can be used, for example, to reorganize the variables for the buttons of a form or to make sure that each form variable is unique. Keep in mind that this function only modifies the names of variables associated with objects, not the names of the objects themselves. 

To automatically increment a set of variables:

  1. Select each active object whose variable needs to be renumbered.
    You can select any kind of active object.
  2. Under Windows, Ctrl+Alt+click on one of the objects.
    Under Mac OS, Command+Option+click on one of the objects.
    The following dialog box appears:

    Note: This dialog box will not appear if the selection contains an object that is not active or a field.
  3. Set the start number and the increment to be applied.
  4. Click on OK.
    The variables of the selected objects are immediately renumbered using the parameters set. The numbers are added to the end of the current variable names. Renumbering is carried out from left to right and top to bottom.

 
PROPERTIES 

Product: 4D
Theme: Building forms

 
ARTICLE USAGE

4D Design Reference ( 4D v14 R2)
4D Design Reference ( 4D v12.4)
4D Design Reference ( 4D v13.4)
4D Design Reference ( 4D v14 R3)
4D Design Reference ( 4D v14.3)
4D Design Reference ( 4D v14 R4)