- Ganesan Rajan
- PowerBuilder
- Thursday, 15 October 2020 09:19 AM UTC
Dear Experts,
I am facing a weird problem in drop down list box values in Powerbuilder 2017 R3 Build 1880.
Our application gets the list of printers installed in a machine and lists it in a dropdown list box.
A variable is used to collect data values and display values as below.
Each data,display value combination is separated by forward slash.
As the values are dynamic, both data values and display values are same.
ls_values = No Printer Allocated No Printer Allocated/ \\ipp://keprp02.kjog.org.in\SU-PR566695-Product-Test \\ipp://keprp02.kjog.org.in\SU-PR566695-Product-Test
the code below sets the values to DDLB
DW_Main.Object.reg_printer.values = ls_values
In front end, DDLB shows value as below
No Printer Allocated
\\ipp:/keprp02.kjog.org.in\SU-PR566695-Product-Test
In the second value, one forward slash is missing after the colon i.e for both Data and Display Values
Can you please let me know why this is happening?
Thanks a ton.
Ganesan R
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.