- Open the form in Design view.
- In the Forms Design Tools, Design ribbon, in the Controls group, click the Insert Chart tool.
- Click and drag in a blank area of the form to create the chart.
- Select Queries under the View section and then select the November Hours Worked query and then click Next >.
- Double-click the Last Name and Hours Worked fields.
- Click Next > four times.
- Enter Total Hours Worked In November for the chart title.
- Select No, Don’t Display Legend and then click Finish.
Wednesday, October 1, 2008
Microsoft Access 2007: Use charts to display data on Access 2007 forms
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: