Sorting in a form

Danielf

Registered User.
Local time
Today, 04:06
Joined
Feb 21, 2000
Messages
103
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).]
 

Users who are viewing this thread

Back
Top Bottom