Export a report to static HTML format
- In the Database window, click the name of the report you want to export, and then on the File menu, click Export.
- In the Save As Type box, click HTML Documents (*.html;*.htm).
- Click a shortcut on the Places Bar or click the arrow to the right of the Save In box and select the drive or folder to export to.
- In the File Name box, enter the file name.
- Select the AutoStart check box to display the results in your default Web browser.
- Click Save.
In the HTML Template box of the HTML Output Options dialog box, enter the location of an HTML template. If you do not specify an HTML template file containing navigation tokens, Microsoft Access provides a default navigation scheme. Learn about an HTML Template file.
Once you have output a report to an HTML file, you need to publish it to make it available on the World Wide Web. Learn about publishing static HTML files to a Web server.
Notes
- Microsoft Access outputs a report, unlike a datasheet, as multiple HTML files, with one file per printed page. The file names are created by using the object name and a suffix; for example, Products.html, ProductsPage2.html, ProductPage3.html, and so on.
- If the report contains a parameter query, Microsoft Access first prompts you for the parameter values, then exports the results.
- Fields with a Hyperlink data type are output as hyperlink addresses by using <A HREF> HTML tags.
- Most controls and features of a report, including subreports, are supported except for the following: lines, rectangles, and OLE objects. However, you can use an HTML template file to include images in a report header or report footer.
- Although a default theme is not applied when you export the report, you can apply a theme by creating a data access page from an existing Web page (in this case, the static HTML file you just created), applying a theme in page Design view, and then saving the page. Learn about using themes.
- Microsoft Access provides several ways to display report information in a Web browser in addition to static HTML reports. You can display a report snapshot on a Web page, and you can create a grouped data access page. However, you cannot output a report to server-generated HTML format.