Hi,
I have a data window (dw) with that has a column which also has a drop-down-datawindow list box (dddw). The PB version is PB CloudPro, 2022R2, build 2819
Here is an example;
A dw has one column bord_type (header text is "Type") and in this case the data has value "L" with the dddw maps to be "Loss"
Here is the initial retrieve
The MakeDisplayOnly = TRUE button has one line
dw_1.Modify( "bord_type.Edit.DisplayOnly = 'Yes'")
What happens next, is that the text from the dddw disappears and the true value from the database is shown,
Is this expected behaviour?
Making the column protected doesn't have this effect, but I would preref to use the "DisplayOnly" option, if possible.
Thanks,
kari
yes I agree. I did come to the same conclusion when testing different ways to do this. The approach I took is that if the field doesn't have a dddw, then it is DisplayOnly. If it has a dddw, then it is protected.
Kari