IsRowNew DataWindow expression function
Description
Reports whether the row has been newly inserted.
Syntax
1 |
<span>IsRowNew</span> ( ) |
Return Values
Boolean. Returns true if the row is new
and false if it was retrieved from the database.
Usage
In a DataWindow object, when you call IsRowNew in
bands other than the detail band, it reports on a row in the detail
band. See GetRow for a table specifying which
row is associated with each band for reporting purposes.
Examples
This expression defined in the Properties view for
the Protect property of a column prevents the user from modifying
the column unless the row has been newly inserted:
1 |
If(<span>IsRowNew</span>(), 0, 1) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments