HexEncode

Returns data as text in hexadecimal format.

Format 

HexEncode ( data )

Parameters 

data - any text expression or field.

Data type returned 

text

Originated in version 

16.0

Description 

This function converts text in text fields, variables, and calculations to UTF-8 format before encoding it (container data is not converted before encoding it).

Example 1 

HexEncode ( "FileMaker" ) returns 46696C654D616B6572.

Example 2 

Converts the contents of a container field to hex-encoded text and stores it in a text field.

Copy
Set Field [ table::hexdata ; HexEncode ( table::container ) ]