Consulting

Results 1 to 5 of 5

Thread: Solved: how to create a pie chart in ms access report?

  1. #1
    VBAX Regular
    Joined
    Jun 2005
    Posts
    30
    Location

    Solved: how to create a pie chart in ms access report?

    Dear experts,
    how can i create a pie chart within ms access report with some filtering parameters?
    i have a form which let user select start date and end date..so how should i continue to complete this task?

    thx!

  2. #2
    VBAX Expert xCav8r's Avatar
    Joined
    May 2005
    Location
    Minneapolis, MN, USA
    Posts
    912
    Location
    There are several ways to do this. Here's one I think is easy, provided that you know a little VBA. When the user hits okay from your form that gets the date parameters, open a report with the pie chart in it, pass the parameters to the report, and alter the SQL statement that is the row source for the pie chart. Alternatively, you could avoid the VBA by creating parameters in the query for the chart that read the fields on your form that provides the start date and end date. Yet another alternative would be to store the parameters in a table whose values would be used in the query for the row source of the pie chart.

  3. #3
    VBAX Expert xCav8r's Avatar
    Joined
    May 2005
    Location
    Minneapolis, MN, USA
    Posts
    912
    Location
    Did this advice solve your problem?

  4. #4
    VBAX Regular
    Joined
    Jun 2005
    Posts
    30
    Location
    o yeah..finally i solve the problem...by using the first method that u recommended...actually i have solve it earlier...just that i forgot to reply ...hehe....all the best ..again thx!

  5. #5
    VBAX Expert xCav8r's Avatar
    Joined
    May 2005
    Location
    Minneapolis, MN, USA
    Posts
    912
    Location
    Thanks, I'm just trying to clean up the forum for future searches.

Posting Permissions

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