ACC2000: No Menu Command to Remove a Background Picture from a Data Access Page (258986)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q258986
Moderate: Requires basic macro, coding, and interoperability skills.

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

SYMPTOMS

After you have added a background picture to a data access page, either by using the Format menu or by using HTML attribute tags, you note that there is no menu command in Design view of the page to remove the picture.

RESOLUTION

You can use one of two methods to remove a background picture from a data access page. You can modify the Background property of the data access page. Or you can edit the HTML source code for the page.

Modifying the Background Property

  1. In Design view of the page, click Select Page on the Edit menu.
  2. If the property sheet is not displayed, click Properties on the View menu.
  3. In the property sheet, click the Format tab.
  4. Place the mouse pointer in the Background property box, press SPACEBAR once, and then press ENTER. The background picture is removed. If you want, you can remove the space from the Background property box.

Editing the HTML

  1. In Design view of the page, point to Macro on the Tools menu, and then click Microsoft Script Editor.
  2. On the View menu, click Other Windows, and then click Document Outline.
  3. In the Document Outline window, click the Body object.
  4. Inside the Body tag, remove the Background-Image attribute. The Background-Image attribute looks similar to the following source code:
    BACKGROUND-IMAGE: url(C:\Program Files\Microsoft
    Office\Office\Samples\Page4_files\image008.gif); 
    					
  5. On the File menu, click Save, and then on the File menu, click Exit.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Access 2000.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Open a data access page in Design view.
  2. On the Format menu, point to Background, and then click Picture.
  3. In the Insert Picture dialog box, select any picture that is stored on your computer, and then click OK.
  4. On the View menu, click Page View.
  5. On the View menu, click Design View. Note that there is no menu command on any menu to remove the background picture.

Modification Type:MinorLast Reviewed:7/13/2004
Keywords:kbbug kbDAP KB258986