Kbase P156962: How to choose the format of a DATETIME value in an UltraGrid column in Visual Designer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/5/2009 |
|
Status: Unverified
GOAL:
How to choose the format of a DATETIME value in an UltraGrid column in Visual Designer
GOAL:
How to display a DATETIME field in an UltraGrid
GOAL:
How to display the time as well as the date of a DATETIME field in an UltraGrid cell
FACT(s) (Environment):
Windows
OpenEdge 10.2x
FIX:
The default format for a DATETIME value in the UltraGrid displays only the date portion of the value, not the time. However, other formats exist that display the time as well. To choose one of these formats for an UltraGrid column containing a DATETIME value, use the following steps:
Open the form containing the UltraGrid in Visual Designer.
Select the UltraGrid.
Use the link below the property sheet to open the UltraGrid Designer.
Under Band and Column Settings in the tree on the left, expand the bands until the desired band is displayed, and click on the Columns node for that band.
From the list in the center, select the column that will contain the DATETIME values.
From the property sheet for that column, select MaskInput.
Pull down the drop-down list to the right. Several formats to display date only, time only, or both date and time will be visible.
Choose the desired format from the list.
Click OK to save the settings. The UltraGrid Designer will close, and the placeholder for the DATETIME field will be in the desired format.