Consulting

Results 1 to 4 of 4

Thread: Solved: how to activate filter in report

  1. #1
    VBAX Newbie
    Joined
    May 2010
    Posts
    2
    Location

    Solved: how to activate filter in report

    Hi there, how can i filter a report? like in DataSheet where the user can select the row and filter it, i want the same thing when the report is displayed to have that kind of functionality, thanks for your help in advance...

  2. #2
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,297
    Location
    jepperly, welcome to the Forum.
    The simplest way to Filter Reports is to use a Form to enter what you want to be the filter and then apply that to a query that provides the report with it's data.
    You can also use VBA generated SQL to overwrite the Query each time, this is best used with very complicated Filtering where lots of fields are involved.
    You can also activate the Report's own Filter using the Docmd statement that opens the Report, but it is less flexible than th eother methods.

  3. #3
    VBAX Newbie
    Joined
    May 2010
    Posts
    2
    Location
    thanks for the help, i guess i'll try what you said regarding with the forms.

  4. #4
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,297
    Location
    If you need further help I can provide examples of how to each type, there are even some already on this forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •