I have been using this for some time now. It is a subform based on the alpha filter macro and removes the need for having multiple macros. It is a form whereby the only thing you need to do is on frmalpha... whereby you specify the frm and the field name you wish to filter on. remember to set the form to allow filters.
Simply add the frm alpha... as a subform on the main form and ensure that you set the field for finding on.
You should be able to work out what I did in this subform to cater for different forma and fields.
Update: 19 March 2010:
Modified the way the control is passed from the subform and used in the filter statements. Simply look at how the control event is passed to get an idea of how its is done. Updates welcome.
If you modify please repost for others to use.
Tonez90
Simply add the frm alpha... as a subform on the main form and ensure that you set the field for finding on.
You should be able to work out what I did in this subform to cater for different forma and fields.
Update: 19 March 2010:
Modified the way the control is passed from the subform and used in the filter statements. Simply look at how the control event is passed to get an idea of how its is done. Updates welcome.
If you modify please repost for others to use.
Tonez90
Attachments
Last edited: