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

Using match values for character columns – PB Docs 2019 – PowerBuilder Library

Using match values for character columns – PB Docs 2019

Using match values for character columns

If you are defining the validation rule for a character
column, you can use the Match button on the Definition page of the
Validation Rule view. This button lets you define a match pattern
for matching the contents of a column to a specified text pattern
(for example, ^[0-9]+$ for all numbers and ^[A-Za-z]+$ for all
letters).

To specify a match pattern for character columns

  1. Click the Match button on the Definition page of the
    Validation Rule view.

    The Match Pattern dialog box displays.

  2. Enter the text pattern you want to match the column to, or
    select a displayed pattern.

  3. (Optional) Enter a test value and click the Test button to
    test the pattern.

  4. Click OK when you are satisfied that the pattern is
    correct.

    For more on the Match function and text patterns, see
    the section called “Match” in DataWindow Reference.


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