Skip to content

User Help

Format Characters

You can control the formatting of a data item (how it will look in your output) by specifying one of the format characters listed on this page.

Enter a format character(s) in the Format style box of the Create a New Data item dialog box. Use an X to represent each character as in XXXX. (For more information, see step 11 in Creating a New Data Item).

These format characters are available for all data item types:

Code Description Sample
@R Interleave non-formatting characters instead of overlaying. For instance if you print a Social Security Number "123-45-6789' with a format "@Rxxx-xx-xxxx" it will print as '123-45-6789'

These format characters are only available if the data item is a date:

Code Description Sample
@D Display dates using the current SET DATE setting Default date: 6/22/2006
@E Display dates as if SET DATE BRITISH was in effect British date: 22/06/2006
@YL Display dates using the Long Date format Long date: Thursday, June 22, 2006
@YS Display dates using the Short Date format Short date: 6/22/2006

These format characters are only available for numeric data items:

Code Description Sample
@L Print leading zeros 1 prints as 0000000001.00
@Z Leave blank if zero 0 prints empty spaces
@( Surround negative numbers with () -1 prints as (1.00)
@C Append " CR" to positive. non-zero numbers 1 prints as 1.00 CR
@X Append " DB" to negative, non-zero numbers -1 prints as 1.00 DB
@$ Use currency notation 1 prints as $1.00
Topic identifiers and source notes

Original topic: _1T10XLEES · Help context: 44

Original filename: _1t10xlees.htm

Alternative source versions are retained for review. See this collection’s source notes.

Original page notices

Last Updated: 2/16/2007

Foxfire! product documentation · Legacy source notices are preserved in each topic.