Hello,
Strange issue with my resort command button. This was working fine until I imported my client form into another database. Now Im getting an error on the first line. What gives?
Private Sub SortSite_Click()
If Me.SortSite.Caption = "Sort (Z-A)" Then
DoCmd.GoToControl "Supported Site(s)"
DoCmd.RunCommand acCmdSortAscending
Me.SortSite.Caption = "Sort (Z-A)"
Else
DoCmd.GoToControl "Supported Site(s)"
DoCmd.RunCommand acCmdSortDescending
Me.SortSite.Caption = "Sort (A-Z)"
End If
End Sub