Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

PB.Net: DDDW - selected value disappears

$
0
0

Hi,

 

We are migrating few applications from PB Classic 12.5.2 Build 5583 to PB.Net.

 

We are facing an issue in DDDW in few applications. The situation is similar across the applications.

 

We have few DDDW where we are adding a row programmatically. The situation is like:

 

dw_search is the main dw and has one column, say supervisor_id. The child dw attached to it has 2 columns, say, emp_id & emp_name. The code is like:

 

 

dw_search.GetChild ( "supervisor_id", adwc_obj )

adwc_obj.SetTransObject()

adwc_obj.Retrieve ()

adwc_obj.InsertRow (1)

adwc_obj.SetItem (1, "emp_name", "ALL")

 

Now, when we run the application, then:

 

a) in PB Classic: the DDDW has the value ALL selected and this works as expected.

b) in PB.Net: we expected the same value ALL to remain as the selected value but the field is not showing any value. Now if we click on the DDDW, the value ALL is there in the list at the top. If we select the value ALL, it gets selected and is shown in the DDDW. But if we press tab, the value disappears from the field.

 

How can we fix this issue in PB.Net? Any help/hint is highly appreciated.

 

 

With Regards,

Mazibar


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>