PowerBuilder – Lookup the Display value of a DDDW column

Posted on Thursday, June 17th, 2010 at 8:20 pm in

It’s a pretty typical situation where you want to know the value displayed in a dropdown datawindow even though behind the scenes only the ID is saved.  Here is a technique you can use to look up the value in any row in the datawindow.

ls_describe = "Evaluate('LookUpDisplay(part_id)', " + string(ll_found) + ")"//ll_found is the row #
ls_value = dw_1.Describe(ls_describe)

Add your comment

Leave a Reply

Top