Access 2007 makes it easy to build a graph control for your form that will display calculated data–and often better than with a text form control. For example, say your employee database includes two tables: one with employee data and one with data about hours worked during 2007. The database also contains a November Hours Worked query that includes the Last Name, First Name, and Employee ID fields from the Employee Data table, and the Week Ending and Hours Worked fields for November from the 2007 Hours Worked table. You create a form based on the query that includes all of the fields. To add a chart to the form that graphs the total hours worked for each employee for the month of November, follow these steps:
As you click through each employee’s record, the Graph control will display a bar chart for the employee, showing the total hours they worked in November 2007.