View Full Version : Sorting in a form


Danielf
05-31-2000, 06:16 AM
Is there any function allowing a sort
in a form?
Instead of going to the toolbar, records, sort,I would like to have when clicking on commands buttons that my form is sorted on
a certain way. So I could have- on a click- many ways of sorting my fields.

Found the solution :

Private Sub CmdSort_Click()
Me.OrderBy = "Field"
Me.OrderByOn = True
End Sub


Daniel

Daniel



[This message has been edited by Danielf (edited 05-31-2000).]