XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the Web and with Other Programs
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 2 Exporting an Access Object to an HTML Document In the Database window, right-click the object you want to export, and then click Export on the shortcut menu. Enter the filename in the File name text box, and then select the location where you want to save the file. Click the Save as type list arrow, and then click HTML Documents. Click the Save formatted check box (if using a template), and then click the Export button. Select the template (if necessary), and then click the OK button.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 3 Export Query Dialog Box
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 4 Viewing an HTML Document in a Web Browser If necessary, click View on the menu bar, point to Toolbars, and then click Web to display the Web toolbar. Click the Go button on the Web toolbar, and then click Open Hyperlink. Use the Browse button to select the file to open, and then click the Open button. Click the OK button.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 5 Access Query in HTML Format
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 6 Creating a Data Access Page for an Access Table A data access page is a dynamic HTML document that you can open with a Web browser to view or update current data in an Access database. –Data access pages are stored outside the database as separate HTML documents. You can create a data access page either in Design view or by using a wizard. To invoke the Page Wizard, click Pages in the Objects bar of the database window, click New, click Page Wizard, and finally click the OK button.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 7 Page Wizard Dialog Box
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 8 Data Access Page created by the Page Wizard
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 9 Updating Data in a Data Access Page using Internet Explorer You can view a data access page and update its data using Internet Explorer 5.0 or higher and Windows 2000 SP3 or higher.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 10 Sorting and Filtering Records
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 11 Creating a Custom Data Access Page Click Pages in the Objects bar of the Database window. Click the New button, click Design View, and then click the OK button. Place the necessary controls in the Page window in Design view. Click the Save button on the Page Design toolbar and enter an appropriate name.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 12 Data Access Page with Fields Added
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 13 DataPageSize Property
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 14 The Completed Data Access Page
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 15 Creating and Using a PivotTable in a Data Access Page When used in a Data Access Page, a PivotTable (also called a PivotTable list) is an interactive table that lets you analyze data dynamically using a Web browser. Create a PivotTable by clicking the Office PivotTable tool on the toolbox, followed by the location on the page where you want to position the upper-left corner of the PivotTable. Use the fields from the field list to drag and drop the filter, row, column, and detail fields. Add calculated fields as needed. Modify the size of the PivotTable and save the page.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 16 Completed PivotTable in Page view
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 17 PivotCharts The Office PivotChart Component assists you in adding a chart to a data access page, form, or datasheet. PivotChart components: –PivotChart toolbar –Plot area –Data marker –Data field –Value axis label –Gridline –Category field –Category access label –Series field –Legend –Filter field
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 18 Adding a PivotChart to a Data Access Page Create a new data access page and click the Office Chart tool on the toolbox. –Click the location on the data access page where you want the upper-left corner of the chart to appear Click the PivotChart control and select the data source, data link connection, table or query, and char type. Close the Commands and Options dialog box and add the appropriate fields from the field list. Save the data access page.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 19 Specifying the Data Source
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 20 Specifying the Database Connection and Chart Type
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 21 Completed PivotChart in Internet Explorer
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 22 Using XML XML (Extensible Markup Language) is a programming language that is similar in format to HTML, but is more customizable and suited to the exchange of data between different programs. Access can import data from an XML file directly into a database table. To import an XML file, click File on the menu bar, point to Get External Data, then click Import. Select XML after clicking the Files of type list arrow Use the Look in list box to select the XML documents to import, and click the Import button.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 23 Import XML Dialog Box
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 24 Imported table in Datasheet View
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 25 Exporting an Access Table as an XML File In the Database window, right-click the object you want to export, and then click Export on the shortcut menu. Enter the filename in the File name text box, and then select the location where you want to save the file. Click the Save as type list arrow, click XML, and then click the Export button. Click the Advanced button on the Export XML dialog box; set the data, schema, and presentation options; and then click the OK button.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 26 Data tab of the XML Dialog Box
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 27 Schema tab of the Export XML dialog box
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 28 Exporting an Access Query as an Excel Worksheet In the Database window, click the object you want to export and select it. Click the OfficeLinks list arrow, and then click Analyze It with Microsoft Excel.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 29 Query Results in the Excel Worksheet