It is not working at all
I have tried and it keeps giving the same result. Here is the code:
Code:
If UOMandItem = True Then
GroupLevel(0).ControlSource = "UOM"
GroupLevel(1).ControlSource = "Item"
GroupLevel(0).SortOrder = False
GroupLevel(1).SortOrder = False
OrderByOn = True
End If
If UOMSKUandItem = True Then
GroupLevel(0).ControlSource = "UOM"
GroupLevel(1).ControlSource = "SKU"
GroupLevel(2).ControlSource = "Item"
GroupLevel(0).SortOrder = False
GroupLevel(1).SortOrder = False
GroupLevel(2).SortOrder = False
OrderByOn = True
End If
If UOMandItemDescription = True Then
GroupLevel(0).ControlSource = "UOM"
GroupLevel(1).ControlSource = "Item Description"
GroupLevel(0).SortOrder = False
GroupLevel(1).SortOrder = False
OrderByOn = True
End If