FormDateFieldSetFormat
PowerScript function
Description
Sets the date format for displaying the date in the date form
field.
Applies to
Syntax
|
1 |
rtename.FormDateFieldSetFormat(integer fieldID, string format) |
|
Argument |
Description |
|---|---|
|
fieldID |
The unique ID assigned to the date field. |
| format | The date format to use for the field. |
Return value
Integer.
Returns 1 if it succeeds. Returns -1 if an error occurs. Returns -2
if the fieldID is non-existent, illegal, or not of the required type. If
any argument’s value is null, returns null.
Examples
This example sets the date format to be “d.MMMM yyyy” in the
specified date form field
|
1 2 3 4 5 6 |
integer li_formid,li_rtn string ls_format ls_format = "d.MMMM yyyy" li_formid = rte_1.FormDateFieldInsert(2023-07-13,false) li_rtn = rte_1.FormDateFieldSetFormat(li_formid,ls_format) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest