What are Constant Values in Mail & Deploy and how to use them?

What are Constant Values in Mail & Deploy and how to use them?

FIRST CREATED ON 17 May 2023  I  AUTHOR Emma Camacho

If you want to use a constant, non-calculated value in an expression, you can do this by using the following syntax, which depends on the data type of the constant you want to use.

Text. 
If you want to write a text constant, the following syntax may be used:
"Hello World!"

Number.
If you want to write a numeric constant, the following syntax may be used:
2018
Date. 
If you want to write a date constant, the following syntax may be used:
#2018-12-31#

For instance, if you simply want the expression to return the number 2018, the expression looks like this:
2018
If you want the expression to return the text Hello World, the expression looks like this:
"Hello World"

Inserting Constant Values 
In some cases, you do not want to type a constant value but rather pick it from a list of values which is offered by Mail & Deploy. 






Info
Looking for Additional Guidance?
If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.

    • Related Articles

    • What are Dynamic Values and how to use them in Mail & Deploy?

      FIRST CREATED 17 May 2023 I AUTHOR Emma Camacho Expressions are dynamic values - values which are dynamically obtained by the expression at the time of its evaluation. Example: You want to add a text report element to a report and you want the text ...
    • How to use constant values and dynamic values in data types?

      FIRST CREATED ON 17 May 2023 I AUTHOR Emma Camacho Depending on the data-type of the constant value (see Constant Values) or dynamic value (see Dynamic Values), you can access certain properties of the value and/or manipulate it. Date-Time More ...
    • What are expressions in Mail & Deploy?

      FIRST CREATED ON 17 May 2023 I AUTHOR Emma Camacho In Mail & Deploy, expressions can be used to supply values to certain functions; expressions can either return constant values (see Constant Values), dynamic values (see Dynamic Values) or values ...
    • How to do Calculations in Mail & Deploy?

      FIRST CREATED ON 1 May 2020 I AUTHOR Emma Camacho The previously mentioned constant values (see Constant Values) and dynamic values (see Dynamic Values) can not only be used on their own, but they can be used in calculations by using the following ...
    • How to make use of Modules in Mail & Deploy?

      FIRST CREATED ON 17 May 2023 I AUTHOR Emma Camacho You can also write your own Visual Basic .NET code in a module. A module is a set of Visual Basic .NET code that contains functions to be used from any expression within the repository. This allows ...