FormDateFieldGetDate

Description

Gets the date value displayed in the date form field.

Applies to

RichTextEdit control

Syntax

rtename.FormDateFieldGetDate(integer fieldID)

Argument

Description

fieldID

The unique ID assigned to the date field.


Return value

Date.

Returns the date being displayed for the field if it succeeds and returns null if it fails.

Examples

This example gets the date from the specified date form field.

integer li_formid
date ld_date,ld_rtn

ld_date = today()
li_formid = rte_1.FormDateFieldInsert(ld_date,false)
ld_rtn = rte_1.FormDateFieldGetDate(li_formid)