Results 1 to 4 of 4
  1. #1
    vf-guy is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2014
    Posts
    2

    basic chart in form

    Hello,

    I've been trying to put a horizontal bar chart on a form, where the underlying data from the query is a single list of numbers.

    For example: 3, 9, 7, 7, 2, 5

    I want the chart to return the list of numbers without the default action of counting the instances these numbers. I want, in this case, 6 horizontal bars sorted largest to smallest.

    9 ---------


    7 -------
    7 -------
    5 -----
    3 ---
    2 --

    The chart, by default will show the COUNT of each number, but I want it to just show each value independently.

    Any thoughts on how I can accomplish this?

    Thanks.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I analyze chart issues best when I can work with data. If you want to provide, follow instructions at bottom of my post.

    However, I did a quick test with the data you posted. I built a table with 6 records and two fields: ID, Data.

    I created a bar chart on form, just accept the defaults from wizard. Then change the RowSource to something like: SELECT ID, Data FROM Table1;
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    vf-guy is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2014
    Posts
    2
    Hi, thank you for your reply.

    I can do it easily with a table, just not with a query that only has one column of results.

    Right now I'm trying to do an update query to put the results in a temporary table and create the graph based off the table.

    Thanks.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Why would query have only one column? Again, if you want to provide db, will look at.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 9
    Last Post: 01-29-2013, 06:44 PM
  2. Basic Form Design
    By ccordner in forum Forms
    Replies: 3
    Last Post: 01-25-2012, 04:46 PM
  3. A few basic form problems
    By cheese9799 in forum Forms
    Replies: 8
    Last Post: 02-15-2011, 02:43 PM
  4. Replies: 2
    Last Post: 07-12-2010, 05:39 AM
  5. Locking form with Visual Basic
    By rev_ollie in forum Forms
    Replies: 4
    Last Post: 04-29-2010, 07:27 AM

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