I'm trying to build a sort-combo box. When I click a post in the combo box (qSort) I want my sub form to be sorted according to my selection.
I thought you could write a code like this:
This didn't work and if I do like this I have to make several querys that I can load that are sorted in different ways. Aren't there a better way?Code:Private Sub qSort_AfterUpdate() If Me.qSort.Value = "ID" Then Me.frmRegisterList.Form.Query = qryUnitList_ID End If Me.Requery End Sub