Was this helpful?
Edit a Global Constant Definition
You can change the value of a global constant or edit the Short Remark that describes it. You can also modify the length of a constant's data type, but you cannot change a constant's data type. You must define a new constant to change the data type.
To change the value, description, or data type length of a global constant
1. Display the Edit Application Constants window as described in Steps 1 through 3 for Define a Global Constant.
2. Position the cursor on the name of the constant you want to change.
3. Select Edit from the menu.
Vision displays the Edit a Constant Definition window with the cursor positioned on the Short Remark field. The field contains an optional brief description of the constant.
4. Edit the Short Remark.
5. Press Tab.
6. Change the data type length, if necessary. If you specify a data type without a length, Ingres calculates the length based on the value you entered for the constant. You cannot change the data type for an existing constant, only the length.
7. Press Tab.
8. Enter a new value for the constant.
Be sure that the value is consistent with the data type.
9. Select End.
If the value for the constant is longer than the length you specified in the type field, Vision prompts you to truncate the value or to increase the length of the data type. Select the appropriate response.
Vision saves your changes and displays the new value, data type length, or description on the Edit Application Constants window.
10. Select End again to return to the window in which you were working.
Last modified date: 04/03/2024