ACC97: Error When Clicking Page Link in Report Exported to HTML (172287)
The information in this article applies to:
- Microsoft Access 97
- Microsoft FrontPage 97 for Windows
- Microsoft FrontPage for Windows 1.0
- Microsoft FrontPage for Windows 1.0a
- Microsoft FrontPage for Windows 1.1
- Microsoft FrontPage for Windows 1.1a
This article was previously published under Q172287 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you export a report to HTML format, and then view the report in
your Web browser, you may receive one of the following error messages
when you click on one of the page links:
HTTP/1.0 500 Server Error (161)
-or-
HTTP/1.0 400 Bad Request
CAUSE
You edited a template in Microsoft FrontPage, and then you used that
template when you exported the report to HTML.
RESOLUTION
After you have edited the template in Microsoft FrontPage, open it in a
text editor, such as Notepad. In the tokens that create the navigation
links, replace any instance of the string "%3c" with the character "<";
replace any instance of the string "%3e" with the character ">" as well.
For example, change
<a href="%3c!--AccessTemplate_FirstPage--%3e">First</a>
<a href="%3c!--AccessTemplate_PreviousPage--%3e">Previous</a>
<a href="%3c!--AccessTemplate_NextPage--%3e">Next</a>
<a href="%3c!--AccessTemplate_LastPage--%3e">Last</a>
to:
<a href = "<!--AccessTemplate_FirstPage-->">First</a>
<a href = "<!--AccessTemplate_PreviousPage-->">Previous</a>
<a href = "<!--AccessTemplate_NextPage-->">Next</a>
<a href = "<!--AccessTemplate_LastPage-->">Last</a>
After you have saved the edited template, export the report to HTML again.
You can also edit the HTML files to which the report was exported and add
the hyperlinks that allow you to move to different pages. For example, on
the first page of the exported report, the navigation hyperlinks would be:
<A HREF = "#">First</A>
<A HREF = "#">Previous</A>
<A HREF = "Report1_1Page2.html">Next</A>
<A HREF = "Report1_1Page5.html">Last</A>
However, this method is not recommended because it is inconvenient if the
report contains more than a few pages.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97. This
problem no longer occurs in Microsoft Access 97 Service Release 1.
NOTE: Stand-alone Microsoft Access 97 Service Release 1 is not currently
available, but you can update your copy of Microsoft Access 97 to Service
Release 1 by downloading Microsoft Office Service Release 1 from
Microsoft's Web site at:
REFERENCES
For more information about navigation links in templates, please see the
following article in the Microsoft Knowledge Base:
164007 Reports Exported to HTML Have No Page Links
Modification Type: | Minor | Last Reviewed: | 12/1/2005 |
---|
Keywords: | kbdownload kbbug kberrmsg KB172287 |
---|
|