Results 1 to 9 of 9
  1. #1
    lorenambrose is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    6

    Pivot Chart help.

    First I would like to say hi. I am an Access newbie and this is my very first database ever.



    My database tracks and documents production rework.

    In my database I have this example.

    1. "DR" Table ( this is the one and only table in the database)

    2. "Rework Manhours" Query (data from the "DR" table)

    3. "Rework Manhours" Form (data from the "Rework Manhours" Query)
    a. This form is a pivot chart which seems odd to me that a "form" would be a chart.

    I have a command button that opens this "Rework Manhours" Form / Pivot Chart from a "dashboard" type of Form that opens when you open the database.

    The issue is that as time goes on the data in the Pivot Chart will keep populating and will be useless. It would be great if I could choose start and end dates and only display that specific data.

    I found a way to do it for reports here: http://allenbrowne.com/casu-08.html but unfortunately I don't think you can display a report as a pivot chart. I have no idea how to apply this to my needs but the concept does seem to be right in the ballpark.

    The Pivot Chart is a MUST HAVE.

    I am really trying to create a slick user interface as the entire management will use this database to gather information and I want to make it presentable to the VP.

    Can someone help me with this? As this is my very first database, I am not sure I will understand everything you say so please be patient.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    how about creating one from a query? you can use criteria there. and no, reports don't have pivots. simply charts. also, don't be fooled by the name 'pivot', as they are nothing special. like you said, just a slick interface look.

  3. #3
    lorenambrose is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    6
    Quote Originally Posted by ajetrumpet View Post
    how about creating one from a query? you can use criteria there. and no, reports don't have pivots. simply charts. also, don't be fooled by the name 'pivot', as they are nothing special. like you said, just a slick interface look.
    I am not understanding you. It is me, I'm new to this.

    I have the Pivot chart created already from a Query of the same name. The Query shows all entries. How would I filter it for a specific date range?

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by lorenambrose View Post
    I am not understanding you. It is me, I'm new to this.

    I have the Pivot chart created already from a Query of the same name. The Query shows all entries. How would I filter it for a specific date range?
    add:
    Code:
    WHERE datefield BETWEEN #date# AND #date#

  5. #5
    lorenambrose is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    6
    Quote Originally Posted by ajetrumpet View Post
    add:
    Code:
    WHERE datefield BETWEEN #date# AND #date#

    I assume this code goes in the Query table somewhere.

  6. #6
    lorenambrose is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    6
    Quote Originally Posted by ajetrumpet View Post
    add:
    Code:
    WHERE datefield BETWEEN #date# AND #date#

    Where would this go and how do I get it there. Sorry for the ignorance...

  7. #7
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    You put BETWEEN #date# AND #date#

    in the criteria for the datefield in your QBE

    ajetrumpet gave you the sql portion. Once you put it in the QBE and open the SQL statement you will see the where clause.

    Alan

  8. #8
    lorenambrose is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    6
    Quote Originally Posted by alansidman View Post
    You put BETWEEN #date# AND #date#

    in the criteria for the datefield in your QBE

    ajetrumpet gave you the sql portion. Once you put it in the QBE and open the SQL statement you will see the where clause.

    Alan
    I put this in the date criteris:

    BETWEEN #date# AND #date#

    I get an invalid date entry error. What is an SQL statement and where is it.

  9. #9
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    SQL is best described here

    http://en.wikipedia.org/wiki/SQL

    and how to get the statement is here

    http://www.techonthenet.com/access/q...ew_sql2007.php

    and a tutorial is here

    http://www.w3schools.com/sql/default.asp

    As to your error---what is the format of the date fields in your table. Date or Text? This may be your issue.

    Alan

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

Similar Threads

  1. Replies: 2
    Last Post: 07-12-2010, 05:39 AM
  2. Design view not showing data (Pivot Chart)
    By thestappa in forum Reports
    Replies: 0
    Last Post: 06-24-2010, 09:59 AM
  3. Multiple Plot Pivot Chart
    By Catch Wrestler in forum Reports
    Replies: 0
    Last Post: 06-21-2010, 10:17 AM
  4. Pivot Charts
    By Vikki in forum Access
    Replies: 3
    Last Post: 02-08-2010, 11:14 AM
  5. Creating a Pivot Chart....
    By spcalan in forum Access
    Replies: 0
    Last Post: 01-08-2009, 03:28 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