Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you browse to an Internet page created with Microsoft Access 97, if
the file name contains a space, your Web browser may return the following
error message:
HTTP/1.0 404 Object Not Found
RESOLUTION
The following four techniques enable you to work around this behavior if
your Web browser does not support spaces in HTML file names.
Method 1: Do Not Use Spaces in Object Names
If you know you will export a database object to HTML, HTX/IDC, or ASP
format, do not use spaces in the object name.
Method 2: Modify the HTML Home Page
NOTE: This section contains information about editing HTML files, and
assumes that you are familiar with editing HTML files. Microsoft Access
Product Support professionals do not support customization of any HTML, HTX,
IDC, or ASP files.
If you use the "Publish to the Web" Wizard to create HTML files and a home
page, you can edit the home page HTML file to modify the links to other
pages that have spaces in their names. Change the spaces in the HREF path
to other file names with %20. For example, instead of
HREF="Order Details_1.html"
change it to read:
HREF="Order%20Details_1.html"
Method 3: Export Objects with Spaces One at a Time
If you already have objects in your database with spaces in their names,
and you want to export them to HTML, HTX/IDC, or ASP format, you can export
them one at a time using the Save As/Export command on the File menu. This
method gives you an opportunity to rename the files and remove the spaces.
The "Publish to the Web" Wizard does not allow you to select or modify the
names of your files. Renaming the files to remove spaces after you create
them may cause problems when you try to view the files with your Web
browser. For more information, please see the following article in the
Microsoft Knowledge Base:
163466 ACC97: Publish to the Web Wizard Does Not Allow Custom File
Name
Method 4: Install Microsoft Internet Explorer 3.0
You can download Microsoft Internet Explorer version 3.0 free of charge
from Microsoft's Web site at:
http://www.microsoft.com/windows/ie/downloads/default.mspx/
Or, if you purchased Microsoft Access 97 or Microsoft Office 97
Professional Edition on compact disc, you can install Microsoft Internet
Explorer 3.0 from the Office 97 ValuPack. Run the file Msie301.exe in the
\Valupack\Iexplore folder on the compact disc.