Data type:
Access:
Applies to:
DEFINE TEMP-TABLE ttFooFIELD dFoo AS DATE INITIAL TODAYFIELD iFoo AS INTEGER INITIAL 5000.The DEFINE TEMP-TABLE statement defines the DATE field ttFoo.dFoo with an INITIAL value of TODAY. For this field, the INITIAL attribute is [today’s date], formatted subject to SESSION:DATE-FORMAT. However, the DEFAULT-STRING attribute contains TODAY, the unformatted character value.The INTEGER field ttFoo.iFoo is defined with an INITIAL value of 5000. The INITIAL attribute is the formatted 5,000. The DEFAULT-STRING attribute contains the unformatted 5000.DEFAULT-STRING renders its dates and numeric values in LOCAL format, subject to the DATE-FORMAT and NUMERIC-FORMAT attributes of the SESSION system handle.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |