Rusty
Registered User.
- Local time
- Today, 12:30
- Joined
- Apr 15, 2004
- Messages
- 207
Hey Guys,
I have a comand button on a form and I want it to select a field called [DateOfMI] and sort it (in ascending order).
So far I have got the code below, but what do I need to put before it to select the [DateOfMI] field?
Any ideas?
Rusty

I have a comand button on a form and I want it to select a field called [DateOfMI] and sort it (in ascending order).
So far I have got the code below, but what do I need to put before it to select the [DateOfMI] field?
Any ideas?
Rusty
Code:
Private Sub cmdSortDateMI_Click()
DoCmd.RunCommand acCmdSortAscending
End Sub