Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 200206 - Last Review: June 24, 2004 - Revision: 2.0
ACC2000: Page Remains in DB Window After Deleting HTML File
This article was previously published under Q200206
Novice: Requires knowledge of the user interface on single-user computers.
If you delete the associated HTML file for a data access page, the Database window does not refresh when you open the database or press the Database window refresh key (F5). When you try to open a page, and if someone has deleted the underlying HTML file, you receive the following message:
The HTML file that corresponds to the selected data access page has been moved, renamed or deleted from <path>.
Press Locate to specify a new path or press Cancel to cancel the operation.
The shortcut in the Database window does not attempt to verify that the HTML file still exists in the same folder until you open the page.
The following steps show how to correctly delete a page:
- Select the page that you want to delete.
- On the Edit menu, click Delete.
- If you receive the following message, click Yes:
Do you want to delete the data access page <page name>? For more
information on how to prevent this message from displaying
every time you delete an object, click Help.
- Click Yes when you receive the following message.
You have chosen to delete the data access page. Choose Yes
to permanently delete the link and page files(s), No to
delete just the link.
Pages are stored outside the database in a separate file. What you see in the Database window is a shortcut to that external HTML file.
Steps to Reproduce Behavior
- Open the sample database Northwind.mdb.
- In the Database window, click Pages under Objects.
- On the Database Window toolbar, click New. Click OK.
- On the File menu, click Save. Note the name of the folder in the Save in list. In the File Name box, type Page1.htm, and then click Save.
- On the File menu, click Close.
- Using Windows Explorer, open the folder to which you save Page1.htm in step 4.
- Delete Page1.htm.
- Switch to Access.
- Press F5. Note that Page1 is still in the Database window.
- On the File menu, click Close.
- Open the sample database Northwind.mdb. Note that Page1 is still in the Database window.
APPLIES TO
- Microsoft Access 2000 Standard Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate