Results 1 to 3 of 3
  1. #1
    specsol is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    3

    Pie chart in Access 2007

    I am new to this forum. Any help will be much appreciated. I cannot construct a pie chart on a form in Access 2007. I have a query which correctly groups the data with the correct numbers. The SQL is "SELECT tblCarers.EthnicOrigin, Count([tblCarers.ClientID]) AS CountOfEthnicOrigin
    FROM tblCarers GROUP BY tblCarers.EthnicOrigin". I create a form via Form Design, enter the chart wizard and specify the query to generate the chart. After selecting the simple Pie Chart, the preview shows the graph correctly with the expected ethnic categories. Closing it down and completing the wizard preserts me with a pie chart where the categories are East, West, North. Showing the data label values generates unrelated numbers. Nothing I can do gives sense. Putting the same numbers into Excel generates a correct graph no problem. I must be doing something stupid but cannot see it. All help gratefully received

  2. #2
    specsol is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    3
    Some additional information that may give someone a clue. The Row Source for the faulty Pie Chart is

    SELECT [EthnicOrigin],Sum([CountOfEthnicOrigin]) AS [SumOfCountOfEthnicOrigin] FROM [qryEthnicOrigin] GROUP BY [EthnicOrigin]

  3. #3
    specsol is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    3
    I have now solved the problem! the Row source above has "FROM [qryEthnicOrigin]" where it should be "FROM qryEthnicOrigin". Editing it manually makes it work.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 05-04-2012, 02:22 PM
  2. Make Chart From Query in Access 2007
    By James Parker in forum Access
    Replies: 6
    Last Post: 01-06-2012, 08:14 AM
  3. Replies: 2
    Last Post: 06-18-2011, 09:55 AM
  4. Replies: 2
    Last Post: 07-12-2010, 05:39 AM
  5. Replies: 5
    Last Post: 01-14-2010, 03:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums