The time control supports input of times either by keyboard input or by graphically selecting times from a listbox. The supported keyboard input and display formats are controlled through language phrases 90570 and 90571, which are visible and editable in all projects.
Start value:
Start time
Return value:
Selected time.
The return value will have data type datetime (and thus contain a date part) even if the GetEditFields procedure did not. Multirows (and multi controls) in particular have to handle this.
Supported in:
NewEdit
Parameter page
Multirow
Editable Grid
Appearance
![alt text](file.aspx?id=8D67E782-2E35-444D-ABC2-EF0728D47997)
The time control in its initial state. The user can type a time or pick one from the time picker.
![alt text](file.aspx?id=98E333E2-AC3E-49C0-86B4-2B29D5349797)
Clicking the clock icon opens the time picker.
Default value
SQL Call: Default value
Retrieves the default value for the control.
May modify database:
No
Resultset: Default value
Table count:
repeated exactly once
Row count:
exactly one row
Columns
<column with ordinal 1>
mandatory
string
The default value
Validation
SQL Call: Validation
This call is only made if there is a field validation set for the field info and the field has any content.
Live Validation
Performs field validation when the user leaves the field or one of its dependencies is changed, initial values set by default value and initial values in edit-mode are not validated.
Save Validation
When saving the validation runs server side if the field value has changed. A field value is considered changed if in new mode the value is anything other than NULL
. In edit mode it is considered changed if it has a value that was not returned by the GetEditFields procedure.
May modify database:
No
Parameters
@Value
string
The value of the field, the procedure will not be called if value is NULL.
Resultset: Validation messages
(optional)
Table count:
repeated zero or one time
Row count:
zero or one row
Columns
Error
optional
string
Error message to display. Blocks the user from saving.
Info
optional
string
Informative message to display. Does not block saving.
Warning
optional
string
Warning message to display. Does not block saving.