Error reading combobox
Paul Witmond
Hi,We used to read the selected value from a combobox like this :
String content = ComboBox.GetFromUID(pVal.Form, "Combo").Value;
This was working fine until last week when we updated to 3.00.13697
There is no error but the string is empty
Who has the solution ?
Tnx,
Paul
Martin Ehrensberger
Hi Paul,Which form are you referring to?
Is it an usual optimizer rule or function button?
What combobox do you try to get?
I'm asking because I just tried to get the Currency-Content(63) from the combobox on the sales-Quotation form by the same code you used - I used it on a function button, customize 3.10.14185 - and everything works as expected -> I get the content/value without any errors...
Did you already try this with the current version?
Do you get an error by clicking on "parse-code" in the code-editor?
Regards,
Martin
Stefan Lee
Hi Paul,Does "String content = ComboBox.GetFromUID(pVal.Form, "Combo").Selected.Value;" help?
Cheers,
SL
Paul Witmond
[quote name='Martin Ehrensberger' timestamp='1308151337' post='19311']Hi Paul,
Which form are you referring to?
Is it an usual optimizer rule or function button?
What combobox do you try to get?
I'm asking because I just tried to get the Currency-Content(63) from the combobox on the sales-Quotation form by the same code you used - I used it on a function button, customize 3.10.14185 - and everything works as expected -> I get the content/value without any errors...
Did you already try this with the current version?
Do you get an error by clicking on "parse-code" in the code-editor?
Regards,
Martin
[/quote]
Hi Martin,
I've upgraded to 3.10.14185 and the problem is solved.
Tnx
Paul
0
Please sign in to leave a comment.
Comments
0 comments