Use this function to return the text of the prompt for a field.
FieldPrompt (Field, Section, Form, Group)
Parameter |
Description |
Field |
Enter the name of a field. The default is the current field. |
Section |
Enter the name of a section that contains the field named. The default is the current section. |
Form |
Enter the name of a form that contains the section and/or field named. The default is the current form. |
Group |
Enter the name of the form group that contains the form, section, and/or field named. The default is the current group. |
The system returns a string unless it cannot find a field that matches your criteria. If the system cannot find a field that matches the criteria you specified, it returns an empty string.
Note | For optimal performance, avoid using wildcards (*) when searching for field, section, or form names. |
Here are some examples:
Function |
Result |
Explanation |
Return(FieldPrompt( "Name")) |
Name |
Locates the field on the current section and returns its prompt. |
Return(FieldPrompt( "Address1")) |
Street Address |
Locates the field on the current section and returns its prompt. |
© Copyright 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices