- Kevin Ridley
- PowerBuilder
- Tuesday, 22 December 2020 02:09 PM UTC
Windos 10, PB 2019 R2
This is blowing my mind, must be missing something easy, should be a no brainer. I feel like I've done this a million times, but it's not working. I've got a single column dw (external source) with 1 column (string 10). Edit on the column is a dddw. The dddw used has 2 columns (string 10, and string 30). Data to fill it comes from a web service which is working fine. I populate an instance datastore with the 2 columns worth of data and it has 35 rows. I do a getchild on the dw and it returns 1. Then I do ds.sharedata(dwc) which returns 1. Rowcount on the dwc returns 35. I have done dw.insertrow(0) so there's a blank row in the dw, but the dropdown is blank.
I have another external source dw on the same window that I populate using dw.importjson. This dw has 7 columns, 1 of the columns is string 10 like the other one - edit dddw, and I also populate it with a web service. dddw and columns are similar to the other and I use almost identical code to retrieve and populate the dddw and it works great. In both cases I display the description and the id column (string 10) is the data column. Any thoughts?
Thanks,
Kevin
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.