ComboBox Selected Value
I have a ComboBox defined inside my DisplayForm as
ID: ComboBox1; Data Items(3) - ALL [%%], Feature [NOTE], Inspection [INSP]
What I want to do is have a variable to choose the default value that is displayed when the form is shown. I have tried to use the RuntimeModifications as shown in the workflow help "form.Find(Of ComboBoxFormItem)("FormItemID").SelectedValue" by using an assign activity to set form.Find(Of ComboBoxFormItem)("ComboBox1").SelectedValue = "NOTE" as a test, but I can not get it to work. the combobox allways shows All when the form is opened.
I am using GE 3.15 and SLV 1.10.
Can any one give any guidance on solving this issue?
Thanks,
Keith
-
I have had better luck with this using my own list as input data, rather than defining something in the ComboBox Task URL, Where clause, etc. I have an example if you need it.
Ryan
0 -
Ryan,
I would like to take a look at your example. Is it something simple you can post here?
Thanks,
Keith
0 -
Are you sure your example works Ryan?
If you change the combo box's selected value via the form's runtime modification to either of the other two values in the list, it still defaults to "a" as that is the first item in the list.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare