The "Link" check box determines whether the OLE object is actually embedded within the database or merely linked to it. Before we close the Insert Object dialog box, there is one more very important option we need to explore the "Link" check box. The name and location of the Maria.bmp file appears in the File box. īrowse to your Practice folder, then find and double-click the Maria.bmp file.Now you need to find and locate the file you want to insert into your document. Here you will specify the name and location of the file you want to insert. The Insert Object dialog box displays the Create from File options, as shown in figure. For this exercise, we already created and saved a photo, so you need to select the Create from File option. You can create and then insert new objects by selecting the Create New option or you can click the Create from File option to insert an existing file. The Insert Object dialog box appears, as shown in figure. Ĭlick in any field for Maria Wyatt, scroll to the right, click in the Photo field for the Maria Wyatt record (using the record selector as a guide), and select Insert » Object from the menu.Let's try adding an OLE object to the Maria Wyatt record. Save your changes and then click the View button on the toolbar to display the table in Datasheet view. Click the Data Type list arrow and select OLE Object from the list. Ĭlick the first blank Field Name row and type Photo.Select the tblEmployees table and click the Design button.įirst we need to add an OLE field to this table. The inserted photo displayed in the frmEmployees form. In Datasheet view you normally can't see the actual OLE objects. The Insert Object dialog box with the Create from File option selected.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |