Q: How computed field can refer to column value in previous (or any other) row

Hi All!
Subj

Thank you
--
Zip


0
Zip
8/26/1999 1:29:32 PM
sybase.powerbuilder.datawindow 28057 articles. 4 followers. Follow

2 Replies
403 Views

Similar Articles

[PageSpeed] 38

Zip,

You would do something like:
If(columnname <> columnname[-1], "Column is different", "Column is the
same")

HTH,
Greg

--
________________________________________
Gregory R. George
Greg_George@AscensionLabs.com
Ascension Labs, LLC
Visit www.AscensionLabs.com for PB Tips,
Tricks, Tools, and Free Objects.

Zip wrote in message ...
>Hi All!
>Subj
>
>Thank you
>--
>Zip
>
>


0
Gregory
8/26/1999 9:14:39 PM
you might try something like this as the computed field's expression:

colX[-1]

where "colX" is the column holding the data you want and "-1" is the
relative row (in this case the row above the current row)


Zip wrote in message ...
>Hi All!
>Subj
>
>Thank you
>--
>Zip
>
>


0
Cindy
8/31/1999 11:16:40 PM
Reply: