Salesforce

Directives for Time Pictures (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Directives for Time Pictures (Magic xpa 4.x)

The tables below provide a list of positional and functional directives for Time pictures.

Time Positional Directives

Directive

Description

Range

HH

A placeholder for the hour.

00-99

MM

A placeholder for the minutes.

00-59

SS

A placeholder for the seconds.

00-59

:

A placeholder for the time separator position. Magic xpa replaces this character with the character defined in the Time Separator environment setting.

PM

A placeholder for the AM/PM attribute. PM restricts the maximum value of the HH directive to 12.

AM or PM

Time Functional Directives

Directive

Name

Description

A

Auto Skip

Instructs Magic xpa to move automatically to the next field, without waiting for a next variable action, when the last character of the variable has been typed during data entry.

Default: No

Platform specific: This directive is not supported for mobile devices.

This directive is not available in Web Client tasks.

Zc

Zero Fill

Instructs Magic xpa to replace any 0 of the displayed variable with the character value. If you do not specify any character, the variable is padded with blanks.

Note: c represents a mask character. To use a directive character, for example X, where c appears, preface it with a backslash, as in \X.

Default: no character

This directive is not available in Web Client tasks.

Sample

Since Magic xpa defines the default picture mask HH/MM/SS for a Time variable, the sample area initially shows HH/MM/SS also. If you change the default picture, this area shows the exact template of the variable as it will be displayed, that is, which mask characters are displayed and how many positions the variable will occupy on screen or report forms.

Related Topics

Reference
Attachment 
Attachment