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

GetValidate – PB Docs 2019 – PowerBuilder Library

GetValidate – PB Docs 2019

GetValidate

method (DataWindows)

Description

Obtains the validation rule for a column in a DataWindow.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control, DataWindowChild object, DataStore
object

Syntax

PowerBuilder

Argument

Description

dwcontrol

A reference to a DataWindow control, DataStore, or
child DataWindow.

column

The column for which you want the validation rule.
Column can be a column number or a column name. The column number
is the number of the column as it is listed in the Column
Specification view of the DataWindow painter — not necessarily
the number of the column in the Design view.

Return value

Returns the validation rule for column in dwcontrol. Returns the
empty string (“”) if no validation criteria are defined for the
column.

If any argument value is null, in PowerBuilder and JavaScript the
method returns null.

Usage

You can use GetValidate to save the current validation rule before
calling SetValidate to change the rule temporarily.

Examples

These statements change the validation rule for column 7 in the
DataWindow control dw_Employee to Rule2:

See also

SetValidate


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