Re: help with sort button
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Sat, 21 Jan 2006 15:27:01 -0600
edward keith wrote:
>I have a form that shows all records on the screen at the same time. On My
>Header I put buttons over every column. I would like to make it if I click
>on a button above a column it will sort by that column.
Use code in each button"s Click event procedure:
Me.OrderBy = "fieldname"
Me.OrderByOn = True
--
Marsh
MVP [MS Access]
.
- Prev by Date: Insert Error
- Next by Date: Re: us date format
- Previous by thread: us date format
- Next by thread: Re: Compacting tempory file using code
- Index(es):