Dynamic Variables MOD000602
Access path
- Customizer Master Data Variables Dynamic Variables
Information
- In this module, dynamic variables can be created and edited.
Dynamic variables store values which are dependent on user operations and are updated in the data item.
Create a dynamic variable
From DB 39.5.10
- Right-click to insert an empty record via Insert Dynamic variable.
- Enter the variable number in the Dynamic variable data field.
- NEW The number must be in the individual number range and composed as follows: three digit customer license + a three digit number from 000 to 999.
- Enter the data item which is to receive the dynamic value in the DI data field.
- Set code and search behavior if necessary.
- Save.
Up to DB 39.5.10
Right-click to insert an empty record via Insert Dynamic variable.
Enter the variable number in the Dynamic variable data field.
- The number must be in the individual number range 1000 79999.
Enter the data item which is to receive the dynamic value in the DI data field.
Set code and search behavior if necessary.
Save.
Notes
- It is possible to define several dynamic variables with different flags or search behavior for a data item.
- The content of dynamic variables can be edited using macro commands.
- In opposite to other variable types, @D-variables cannot be reset, since the value is dynamic anyway.
Technical details
- Upon the following actions, those variables the data items of which exist in the active or a parent record are refreshed. If the active record is a button area, its parent area will be searched. Only applies if the code of the corresponding variable is 1 or 5.
- Opening a listbox
- Clicking on a button
- Clicking on a link
- Activating a function via the right mouse button
- First, the system searches a suitable DI in the active record. If none is found, it is searched for in the parent records.
- If the record which was activated is empty, only the dynamic variables on its key fields are updated (usually deleted). This should prevent, in particular, the deletion of, e.g., @D7 (DI001052 Main project).
- Dynamic variables for data items the data field of which displays summarized values (summarization type not 0) are not updated.
- If a change is made to an @D variable, this change does not affect the value of the associated data item.
- Dynamic variables that are located on a data item with an automatic number are filled with this value when an automatic number is generated.