Field types

 

Every variable and field can be set to a defined type (default is TEXT). Depending on the selected type the data in a variable or field are interpreted differently during the report creation. By default data is transferred as a string by script, meaning calls as e.g. NTPSendField or NTPSendVariable always transfer data as a string. The data is not interpreted before the report is physically created by calling e.g. NTPProcessReportExt, that is when the data is then interpreted.

NotesToPaper offers the following different field types:

 

 

 

Field type

Symbol

Description

Example

TEXT

ebx_1368262044

Text (Default field type)

"NotesToPaper"

RTF

ebx_-1031885597

RichText

Contains data in the Microsoft RTF format and is used to pass formatted contents from Notes rich text fields.

"{\rtf1\ansi Hallo\par}"

NUMERIC

ebx_968564543

Number (Decimal sign as a point!  . )

"3.141"

 

DATE

ebx_1206307432

Date (as a legible format)

 

The date must be passed in the format of the language set, e.g. for German as "dd.mm.yyyy" and for English as "mm/dd/yyyy"

"01.12.1997"

BOOLEAN

ebx_-721097648

Logical value ("T","Y" and "1" are interpreted as "true")

"T"

 

DRAWING

ebx_942186268

File name of a graphics file *

"C:\BILD.PCX"

 

HTML

 

ebx_1507723456

HTML code

 

"<b>Hallo</b>"

 

BARCODE

ebx_2075260300

Barcode string (convention is defined by the barcode type)

 

"12l12345l12345"

 

 

* supported graphics formats: MetaFile, Enhanced MetaFile, Bitmap, ZSoft Paintbrush, Capture SCR, Tag Image File Format, JPEG Standard, Kodak Photo CD