Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

FormFieldNext – PB Docs 2022 – PowerBuilder Library

FormFieldNext – PB Docs 2022

FormFieldNext

PowerScript function

Description

Finds the next form field after the specified form field. The type
of the form field may be FormFieldCheckBox, FormFieldComboBox,
FormFieldText, and FormFieldDate. You can specify which form field type to
look for.

Applies to

RichTextEdit control

Syntax

Argument

Description

fieldID

The ID of the form field based on which to search for the
next field.

formFieldTypes The form field types the function shall search for. If
unspecified, the function will search for all the form field
types, including FormFieldCheckBox, FormFieldComboBox,
FormFieldText, and FormFieldDate.

Return value

Integer.

Returns the field ID of the form field that comes next after the
specified field.

Returns -1 if an error occurs. Returns -2 if the specified fieldID
is non-existent, illegal, or not of the required type (FormFieldCheckBox,
FormFieldComboBox, FormFieldText, and FormFieldDate). Returns -3 if no
field is found. If any argument’s value is null, returns null.

Note that if the field type of the specified field ID is not
included in the formFieldTypes[], the function returns -3. For example, if
the field type of the specified field ID is FormFieldText, but the
formFieldTypes provided is {“FormFieldCheckBox”, “FormFieldDate”}, the
function directly returns -3.

Examples

This example finds the next FormFieldText or FormFieldDate field,
whichever comes first, after the specified field (field ID: 28), and
returns the field ID.

This example finds the next FormFieldCheck field after the specified
field and compares the field ID with the specified ID.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x