FormDateFieldSetDate
PowerScript function
Description
Sets the date value to display in the date form field.
Applies to
Syntax
|
1 |
rtename.FormDateFieldSetDate(integer fieldID, date fieldDate) |
|
Argument |
Description |
|---|---|
|
fieldID |
The unique ID assigned to the date form field. |
| fieldDate | The date value to assign to the date form 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.
Returns -3 if the date value is invalid. If any argument’s value is null,
returns null.
Examples
This example sets the date for the date form field to today.
|
1 2 3 4 5 6 |
integer li_formid,li_rtn date ld_date ld_date = today() li_formid = rte_1.FormDateFieldInsert(2023-07-13,false) li_rtn = rte_1.FormDateFieldSetDate(li_formid,ld_date) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest