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

Defining a validation rule in the DataWindow painter – PB Docs 2021 – PowerBuilder Library

Defining a validation rule in the DataWindow painter – PB Docs 2021

Defining a validation rule in the DataWindow painter

Validation rules you assign to a column in the Database painter
are used by default when you place the column in a DataWindow object.
You can override the validation rule in the DataWindow painter by
defining an ad hoc rule for one specific column.

To specify a validation rule for a column in the DataWindow
painter

  1. In the DataWindow painter, select View>Column
    Specifications from the menu bar.

    The Column Specification view displays.

    dwdis25b.gif

  2. Create or modify the validation expression. To display the
    Modify Expression dialog box, display the pop-up menu for the box
    in which you want to enter a Validation Expression and select
    Expression. Follow the directions in Specifying the expression.

  3. (Optional) Enter a string or string expression to customize
    the validation error message.

    For more information, see Customizing the error message.

  4. (Optional) Enter an initial value.

Used for current column only

If you create a validation rule here, it is used only for the
current column and is not saved in the extended attribute system
tables.


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