Get the data in the specified input field in a RichTextEdit control.
RichTextEdit controls
rtename.InputFieldGetData ( inputfieldname )
Argument |
Description |
---|---|
rtename |
The name of the RichTextEdit control in which you want to get data from the selected input field |
inputfieldname |
A string whose value is the name of input field from which you want to get the data |
String. The data in the input field. InputFieldGetData returns the empty string ("") if the field does not exist or an error occurs.
This example gets the data in the input field empname:
string ls_name
ls_name = rte_1.InputFieldGetData(empname)