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

Validation – PB Docs 2022 – PowerBuilder Library

Validation – PB Docs 2022

Validation

property (DataWindow object)

Description

The validation expression for the specified column. Validation
expressions are expressions that evaluate to true or false. They provide
checking of data that the user enters in the DataWindow.

To set the validation expression, you can also use the SetValidate
method. To check the current validation expression, use the GetValidate
method.

Applies to

Column controls

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

columnname

The column for which you want to get or set the
validation rule..

validationstring

(exp) A string containing the rule that will be
used to validate data entered in the column. Validation rules
are expressions that evaluate to true or false. Validationstring
is quoted and can be a DataWindow expression.

Usage

In the painter

Set the value using the Column Specifications view, Validation
Expression option.

Use operators, functions, and columns to build an expression. Use
Verify to test it.

Examples


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