Add a picture to a command or toggle button

Microsoft Office Access 2003

  1. Open a form in Design view.
  2. Click the command button or toggle button, and then click Properties Button image on the toolbar to open its property sheet.
  3. Click the Format tab, and in the Picture property box, type the path and file name for a .bmp, .ico, or .dib file. If you're not sure of the path or file name, click the Build button Button image to open the Picture Builder.

    ShowTip

    In Microsoft Paint, you can create a file with a picture and caption for a button. Draw the picture and caption on a background of any size, and then select only the portion that will fit on the button. On the Edit menu, click Copy To and specify a file name in the Copy To dialog box.

ShowAdd a picture to a command button on a data access page

  1. Open a data access page in Design view.

  2. Click the command button you want to add the picture to, and then click Properties Button image on the toolbar.

  3. Click the Format tab, and in the BackgroundImage property box, specify the location of image you want to use in the following format:

    url("http://WebServerName/FileName")

  4. Do one of the following:

    • To specify that only one image appears on the button, set the BackgroundRepeat property to no-repeat.

    • To specify that copies of the image appear in a horizontal line on the button, set the BackgroundRepeat property to repeat-x.

    • To specify that copies of the image appear in a vertical line on the button, set the BackgroundRepeat property to repeat-y.

  5. Set the position of the image in the BackgroundPositionX and BackgroundPostionY property boxes.