Microsoft
Software
Hardware
Network
Question : Filter form via dropdown menu
I have a form (well a series of forms but I will start with just one) that contains records. One of the fields of the records is a status one. The actual field is based off its own table. What I want to do is have a dropdown menu in the header of the form (a multirecord form) that will filter it based on the selection in the drop down menu. An option to clear the filter would be nice as well.
I know that I can do this from the controls in Access but I would really like this functionality so the end user for the database has that option.
Answer : Filter form via dropdown menu
on change event of the combo box
me.filter="Status=" & me.MyCombo
me.filteron = true
and create a button to clear, and in onclick do this
me.filteron = false
Random Solutions
Setting DataFormatString in Gridview programmatically
Change the term "This product is licensed to" in Office 2003 on a Terminal Server
Raising events with asynchronous callback from a dll
Setting a trigger when a specific column is updated?
How to limit query to top n records
How to Create query from selction made in a drop down list.Acees 2007
Trouble with using FindFirstFile in MFC app
How to control a hidden field on tabs based on main form combobox selection
Can't find forwarding rule Exchange 2003 in Windows 2003 SBS
SQL Command in Crystal Reports