Constants that you want to use in an expression or property can be strings, numbers, boolean values, etc but you must consider the literal data type as presented below.

Boolean

The possible values for a Boolean literal are true or false.

Currency

The Currency literal is the same as the Decimal literal.

Date

The Date literal must be enclosed with number signs (#) and in the format YYYY-MM-DD. For example:

#1998-08-08#

Date Time

The Date Time literals must be enclosed with number signs (#) and in the format YYYY-MM-DD hh-mm-ss. For example:

#1910-02-02 12:10:05#

Decimal

In Decimal literals, the integer and decimal parts must be separated by a . (decimal point or period). For example:

1.2

Entity Identifier

The Entity Identifier literal is the same as the Integer or Text literals.

Integer

Integer literals are signed numbers with values ranging from negative -2147483647 through positive 2147483647.

Phone Number

The Phone Number literal is the same as the Text literal.

Text

The Text literal must be enclosed in double quotes ". To use quotation marks " inside your string, you must double each of the marks. For example:

"hello"

"Hello world"

"xpto ""123"" xpto1"

Time

The Time Literal must be enclosed with number signs (#)and in the format hh-mm-ss. For example:

#12:20:56#

See Also

Boolean Data Type | Currency Data Type | Date Data Type | Date Time Data Type | Decimal Data Type | Entity Identifier Data Type | Integer Data Type | Phone Number Data Type | Text Data Type | Time Data Type