ACC97: Publish to the Web Wizard Does Not Allow Custom File NameLast reviewed: June 4, 1997Article ID: Q163466 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. The "Publish to the Web" Wizard does not allow you to type in a unique name for a file. It appends "_1" (without the quotation marks) to the end of each file that it publishes. For example, the table "Categories" is saved as "Categories_1.html" when you publish it to HTML format using the "Publish to the Web" Wizard. If you use the "Publish to the Web" Wizard to export two objects that have the same name, an "_2" (without the quotation marks) is appended to the end of the second file name. For example, if you click Save As HTML for the Categories table and the Categories form at the same time, two files are created, Categories_1.html and Categories_2.html.
CAUSEThe "Publish to the Web" Wizard allows you to export multiple objects; therefore, it cannot allow you to specify custom file names.
RESOLUTIONTo assign a custom file name to your Web file, follow these steps:
NOTE: You cannot simply rename your files after you export them because scripts in IDC and ASP files still refer to the original name. In addition, if links in other HTML files (such as a default home page) refer to the original name, those links will be broken if you rename the original file. Note also that the "Publish to the Web" Wizard overwrites existing files without warning; the Save As/Export command on the File menu prompts you before overwriting existing files.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about exporting HTML, IDC, or ASP files, search the Help Index for "Publish to the Web Wizard" or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: filename unique
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |