on 11-15-2011 12:47 PM
Hello,
Does anyone know how to set the choosefromlist's conditions to show only the employees belonging to a specific role (for example -2: Technicians)
Thanks in advance
Blas
hi,
xml also having that option to filter specific
<ChooseFromList UniqueID="CFL1" ObjectType="171" MultiSelection="0" IsSystem="0">
<conditions>
<condition bracket_open_num="1" bracket_close_num="1" cond_end_val="" cond_value="Technician" operation="1" relationship="0" compare_fields="0" alias="position" compared_field_alias=""/>
</conditions>
</ChooseFromList>
Thanks & regards
B.lakshmi Narayanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try This.....
Dim ocfl As SAPbouiCOM.ChooseFromList
Dim oCFL_collection As SAPbouiCOM.ChooseFromListCollection
Dim ocondition As SAPbouiCOM.Condition
Dim oconditions As SAPbouiCOM.Conditions
oCFL_collection = oform.ChooseFromLists
ocfl = oCFL_collection.Item("CFLName")
oconditions = ocfl.GetConditions
ocondition = oconditions.Add
ocondition.Alias = "Position"
ocondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
ocondition.CondVal = "Technicians"
ocfl.SetConditions(oconditions)
Thanks
Shafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.