ValidationMsg DataWindow object property
Description
The message that the DataWindow server displays instead of the default
message when an ItemError event occurs in the column.
Controls
Column controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.ValidationMsg |
Describe and Modify argument:
1 |
"<span>columnname</span>.ValidationMsg { = '<span> string </span>' }" |
Parameter |
Description |
---|---|
columnname |
The column for which you want to get |
string |
(exp) A string specifying |
Usage
In the painter
Set the value using the Column Specifications view, Validation
Message option.
Examples
1 |
string setting |
1 |
setting = dw1.Object.emp_salary.ValidationMsg |
1 |
dw1.Object.emp_salary.ValidationMsg = & |
1 |
 "Salary must be between 10,000 and 100,000" |
1 |
setting = dw1.Describe("emp_salary.ValidationMsg") |
1 |
dw1.Modify("emp_salary.ValidationMsg = " & |
1 |
"'Salary must be between 10,000 and 100,000'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest