Results 1 to 6 of 6
  1. #1
    libraccess's Avatar
    libraccess is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Napier New Zealand
    Posts
    129

    Graph Frustration

    Attached is a zipped DB of a chart I have been wasting my time on


    I thought I had it 1st off See Report1 the second chart looks OK except for the legend order but the chart does not work

    The first chart just does not work at all and yet the query is returning the results exactly how I want

    data is between 1/1/2012 and 30/4/2012 for the frmReports

    any help gratefully accepted

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Don't know if this will work for what you want, but try changing the code for the open report button to:
    Code:
    Private Sub Command16_Click()
    DoCmd.OpenReport "Report1", acViewReport
    End Sub

  3. #3
    libraccess's Avatar
    libraccess is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Napier New Zealand
    Posts
    129
    it is the chart that is not working that is the problem although the acViewReport does bring up the report the graphs still do not respond.
    I have had this problem before with this type of chart and have found that they will work if the data source is a table not a query, but of course my data source comes from two tables and MS Chart will only allow one table or one query as a source

  4. #4
    libraccess's Avatar
    libraccess is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Napier New Zealand
    Posts
    129
    I've sort of found a work around. Run a query append to a tblTEMP chart runs OK. - Compact on close.

    Still have the issue of sorting the order of the Legend. MS Chart sorts them in Alphabetical Order and I cant seem to change that

    Extreme - High - Low - Medium (thats what I want if only I could swap those last two
    or
    Extreme - High - Intermediate - Moderate (this works, not quite what I want)

    Maybe some knows how I could fool MS Chart

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I came up with the same work around last night, but I used saved (crosstab) queries for the row sources for the two charts. Easier to troubleshoot.

    RE: fooling MS Chart.... haven't used it. Sorry..

  6. #6
    libraccess's Avatar
    libraccess is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Napier New Zealand
    Posts
    129
    Hi Thanks , I redid this with a crosstab query and must have previously been doing something wrong , so thats all good now, and the other
    1:Low
    2:Medium
    3:High
    4:Extreme

    does the trick

    Thanks again

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

Similar Threads

  1. Bar Graph
    By scoobz1234 in forum Access
    Replies: 10
    Last Post: 04-03-2012, 12:28 PM
  2. Replies: 6
    Last Post: 02-29-2012, 03:13 AM
  3. Graph
    By Ray67 in forum Reports
    Replies: 8
    Last Post: 10-15-2011, 10:38 AM
  4. Replies: 3
    Last Post: 01-10-2011, 10:31 AM
  5. Input mask frustration (decimals)
    By Remster in forum Forms
    Replies: 2
    Last Post: 10-29-2010, 09:33 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