You can't do this in datasheet view, but you can create a continuous form
that *looks* like datasheet view. Then, in the header section, you can
assign event procedures to the Click events of the header labels. For
example:
Private Sub lblHdrSurname_Click()
Me.OrderBy = "Surname"
Me.OrderByOn = True
End Sub
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.