HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
164 Chapter4
Advanced Forms Design
SET
Figure 4-3. Field Menu with a SET Statement
Example
1. Suppose the user enters a price in the field as follows:
[123.5∆∆∆∆]
The SET statement causes it to be formatted as:
[∆∆∆123.50]
2. In another situation, this version of SET TO can be used to format a date. Suppose the
date field, DATE1, is type MDY and the user enters a date in the form:
[FEB 12, 86]
A SET statement of the form SET TO DATE1 in the Field Menu describing DATE1 formats
the user entered data as:
[02/12/86∆∆]