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 property conditional expressions – PB Docs 125 – PowerBuilder Library

Using property conditional expressions – PB Docs 125

Using property conditional expressions

As with other DataWindow objects, you can specify property conditional expressions
to modify properties at runtime. You can use them with either dynamic
or static crosstabs. With dynamic crosstabs, you specify an expression once
for a column or value, and PowerBuilder assigns the appropriate properties
when it builds the individual columns at runtime. With static crosstabs,
you have to specify an expression for each individual column or value,
because the columns are already specified at definition time.

Example

In the following crosstab, an expression has been specified
for Units:

cros32.gif

The expression is for the Font.Weight property of the units column:

The expression specifies to use bold font (weight = 700)
if the number of units is greater than 100. Otherwise, use normal
font (weight = 400).

This is the crosstab at runtime:

cros33.gif

Values larger than 100 are shown in bold.

For more information about property conditional
expressions, see Chapter 24, “Highlighting Information
in DataWindow Objects.”


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