ACC2000: You Cannot Edit a Page That Contains an IFRAME or a Frameset (203109)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q203109
Novice: Requires knowledge of the user interface on single-user computers.


This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

SUMMARY

When you create or open a data access page that is based on an existing HTM or HTML page that contains an IFRAME or a frameset, you may receive the following error message:
You cannot edit this page because it contains frames. The data access page designer cannot edit pages with frames.

MORE INFORMATION

A frames page is a special kind of HTML page that divides the browser window into different areas called frames, each of which can display a different HTML page. The frames page itself contains no visible content. It is just a container that specifies which other pages to display and how to display them. Data access pages cannot contain a frameset. However, frames can contain data access pages.

Steps to Reproduce the Behavior

  1. Open any text editor, such as Notepad, and then add the following HTML tags:
       <html>
       <head>
       <title>Frameset example</title>
       </head>
       <frameset rows="40%,*">
         <frame name="upperFrame" src="">
        <frame name="lowerFrame" src="">
       </frameset>
       <noframes>
       <body>
       <p>Your browser does not support frames.</p>
       </body>
       </noframes>
       </html>
    					
  2. Save this text file as C:\MyTest.htm. If you open this file in your browser window, note that there are two frames or "panes" in the window.
  3. Open Microsoft Access 2000.
  4. In the Database window, click Pages under Objects, and then click Edit web page that already exists.
  5. In the Locate Web Page dialog box, type c:\MyTest.htm in the File Name box, and then click Open. Note that you receive the following error message:
    You cannot edit this page because it contains frames. The data access page designer cannot edit pages with frames.

Modification Type:MajorLast Reviewed:6/30/2004
Keywords:kbDAP kberrmsg kbhowto KB203109