- Rins Francis
- PowerBuilder
- Wednesday, 30 September 2020 08:24 PM UTC
Hi all,
Thanks for spending your valuable time...
I have an issue in the ItemChanged Event.
Consider that I have a dropdown data window having id & genname in the list. The data type of id is numeric and genname is string. The data column & display column are assigned as id & genname respectively. While running from source code ItemChanged event gives me the id value as data but after deployment ItemChanged event gives genname as data.
While debugging I found the reason; some of the data in the dropdown gives the genname as data all other data gives id as data. Actually, the wrong data (genname as data) given by the ItemChanged event because of the First character of genname is space. ie... if the first character of genname is space the ItemChanged event gives genname as data.
I have resolved the issue by replacing that space from my dataset.
is anybody had such experience? anyone have any workaround regarding this issue...
Note: Appeon PowerBuilder Version details
Appeon PowerBuilder Standard Edition
Version 2017R3 Build 1915
Built on Dec 10 2019
Thanks & Regards...
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.