• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Let's Get More Intimate with... > Taking Advantage of Built-in Form-Fi...

Taking Advantage of Built-in Form-Filtering Features

Access has several form-filtering features that are part of the user interface. You can opt to include these features in your application, omit them from your application entirely, or control their behavior. For your application to control their behavior, it needs to respond to the Filter event, which it does by detecting when a filter is placed on the data in the form. When it has detected the filter, the code in the Filter event executes.

Sometimes you might want to alter the standard behavior of a filter command. You might want to display a special message to the user, for example, or take a specific action in your code. You might also want your application to respond to a Filter event because you want to alter the form's display before the filter is applied. For example, if a certain filter is in place, you may want to hide or disable certain fields. When the filter is removed, you could then return the form's appearance to normal.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint