Monday, March 26, 2012

Adding Sound File and Image to a Database

Digital files such as image and sound files can be inserted into a database.

  1. Collect digital sound and image files of each of your friends in your Address database.
  2. Open the table that contains the address details.
  3. Go into design view.
  4. Add two new fields called voice message and photo.
  5. Set the data types for each to OLE Object.
  6. Go back into form view.
  7. In a cell under the new field simply right click and select insert object.
  8. Select the Create from file option and then browse to the location of your sound or image file.
  9. To view or listen to your files you will need to create a new form that contains the voice message and photo fields.  
The photo contains the image of the person and the sound field contains a piece of sample music. I was successfully able to add a sound file and an image to a database. 




No comments:

Post a Comment