Results 1 to 9 of 9
  1. #1
    techtony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    18

    Question Chart Not acting as you would expect

    This may just be me missing something very simple, and if it is, then I apologize for my ignorance ahead of time.

    I am creating a Chart from a query. This query is as follows:

    SELECT
    Phases.phase_name,
    Count(Refresh_Tickets.refresh_id) AS phase_cnt
    FROM
    Refresh_Tickets
    LEFT JOIN
    Phases
    ON
    Refresh_Tickets.refresh_current_phase = Phases.phase_id
    WHERE
    (((Refresh_Tickets.refresh_scheduling_group)=[TempVars]![schgrpID]))


    GROUP BY
    Phases.phase_name;

    This query produces the following:


    Click image for larger version. 

Name:	Capture.PNG 
Views:	12 
Size:	7.3 KB 
ID:	17565


    Which has the group name, and a total - perfect! Now I just want to make a chart for it.

    When I try to create a chart, The chart basically shows what you want, but there is a strangely name total variable that it puts as a label - there is not way to change this or change the color of each of the bars? Am I missing something?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I deal with graphing issues best when I can work with data. If you want to provide db, follow instructions at bottom of my post.
    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
    techtony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    18

    Here you go

    Here is the database. There is one thing I wish you could help with as well since you have my database. Notice on the main menu form that the font and colors and other formatting is plain. BUT it is not supposed to be like that. Open a form, and go to formatting - you will notice that the font and size and bold are shown correctly in the ribbon,but NOT reflected on the form itself. Now - if you take the font size and increase it or decrease it a bit - you will notice that the form element then reflects the formatting. If you save the database and go back in - the changes are all lost and you have to re- do the entire forms formatting. Not sure how to resolve that either.

    The query that displays the chart information is the "Count Query"
    Attached Files Attached Files

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Is that form "Main Navigation"? Not getting the format issue.

    I don't see any form or report with a chart. Should provide what you attempted.

    The query uses a TempVars variable for filter criteria. Where is the variable set?
    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.

  5. #5
    techtony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    18
    Quote Originally Posted by June7 View Post
    Is that form "Main Navigation"? Not getting the format issue.

    I don't see any form or report with a chart. Should provide what you attempted.

    The query uses a TempVars variable for filter criteria. Where is the variable set?
    Oops - sorry about that. The chart report I must have got ticked off and deleted it I basically used the report insert chart wizard.

    As for the temp var - the variable is set when you use the employee login form. The variable is gathered from the Scheduling Group Table.

  6. #6
    techtony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    18
    And yes the main navigation form is the one with the issue. This is what we get when we open it -

    Click image for larger version. 

Name:	Capture.PNG 
Views:	8 
Size:	24.5 KB 
ID:	17718

    And this is what it is supposed to look like -

    Click image for larger version. 

Name:	Capture2.PNG 
Views:	8 
Size:	35.3 KB 
ID:	17719

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Odd, I get the first on my office computer but the second on my home laptop (will double-check tonight). However, in both cases the properties and the ribbon both say Arial Black 11. Never encountered this before. These settings hold:

    Font: Arial
    Size: 11
    Weight: Bold

    Maybe rebuild the form.

    Have you tried viewing on different computer?

    What kind of chart do you want? Really should post version with your attempt so I have something to analyse.
    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.

  8. #8
    techtony is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    18
    I will re-do the chart and zip it up for you to see - sorry about that - really I thought it was there. I just did the report builder - nothing fancy, just the simple bar chart was all. But the form issue is odd indeed. I guess I can dump the front end entirely and start over, but just seems like a lot of work just to get this to work correctly. I will get started on that this weekend

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The issue seems to be with the one form. Try just rebuilding it only.
    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. Crosstab query acting up..?
    By snipe in forum Queries
    Replies: 4
    Last Post: 04-14-2014, 02:35 PM
  2. query is acting up
    By kwooten in forum Queries
    Replies: 20
    Last Post: 12-21-2011, 12:50 PM
  3. Update Query acting up
    By compooper in forum Queries
    Replies: 1
    Last Post: 07-04-2011, 12:27 PM
  4. Table/Query acting wierd
    By Rick West in forum Queries
    Replies: 2
    Last Post: 03-10-2010, 10:11 AM
  5. Replies: 0
    Last Post: 10-21-2008, 10:51 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