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 Rules properties – PB Docs 126 – PowerBuilder Library

Validation Rules properties – PB Docs 126

Validation Rules properties

Description

Create or change a validation rule.

General tab

Validation Name

Enter the name of the validation rule if you are defining
a new rule. If you are editing a rule, you cannot change the name.

Datatype

Select the datatype you are defining the validation rule for.
If you are editing a rule, you cannot change the datatype.

Validation Error Message

(Optional) Enter the error message that will display if the
entry does not pass the validation rule. If you do not enter a customized
message, PowerBuilder displays the default message:

Definition tab

Select this

To paste this at the cursor location
in the Validation Rule box

Match

A match pattern for a character column.
You define the match pattern in the Match Pattern dialog
box

@col

A placeholder for the column name

A function from the Functions list box

The selected function

Validation Rule

Enter the validation rule or edit the rule displayed. The Validation
Rule box displays a rule only if you are editing a validation rule.

Example

To pass this validation rule, the data in the emp_id
column must be 3 letters followed by 2 digits that are greater than
0:

See also


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