Is there a way to order by two fields descending in vba? i know that it is possible for ascending. Here is an example of what I am trying to do:
If Me.OrderBy = "[Plan],[Year]" Then
Me.OrderBy = "[Plan],[Year] DESC"
Else
Me.OrderBy = "[Plan],[Year]"
End If
Form.OrderByOn = True
It works for ascending but not descending.
If Me.OrderBy = "[Plan],[Year]" Then
Me.OrderBy = "[Plan],[Year] DESC"
Else
Me.OrderBy = "[Plan],[Year]"
End If
Form.OrderByOn = True
It works for ascending but not descending.