i have a problem - [it's usually powerbuilder-basics ;-) ] with
dropdown-datawindow: i need the data, from the displayed row of the
datawindow/dropdown-datawindow-column.
i have defined a DataWindowChild-var. and referenced to the column; but
if i perform a "GetRow" from the datawindowChild - it always returns
the row 1 and i get with the datawindowChild.GetItemString(xxxx) the
value of the first row...............
how could i simply find/get the value of the current row??
have anyone a clue or example for my problem
many thank's in advance
Michael
you can't get the actual display value from a dddw using
dddw.getItemXXX(dddw.getRow(), ...). Rather use one
of the following solutions:
1) Get the actual data value from the dataWindow, form
a search expression to find the row containig this data
value in the ddde and getItemXXX() the display value
from this row.
OR
2) Call dw.describe(ls_expr) where ls_expr is of the form:
"evaluate('lookupDisplay(<colName>)', <rowNumber>)"
and <colName> and <rowNumber> are replaced with
appropriate values.
HTH
Chris Werner
"M.Erlinger" <michael....@erlinger-software.at> schrieb im Newsbeitrag
news:43b10e4c@forums-1-dub...
thank's for your help
Michael
<colName>:
The name of the column having DDDW as edit style (in the main dw).
<rowNumber>:
The number of the row in the main dw.
Chris Werner
"M.Erlinger" <michael....@erlinger-software.at> schrieb im Newsbeitrag
news:43b13576$1@forums-1-dub...