Results 1 to 7 of 7
  1. #1
    scubagal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    21

    Adding Sound Byte


    Hi all, I must say thanks to all who helped me in my prior postings. My database is up and working well. I would like to add a sound byte to the save button I placed in a form to alert ppl when they try to save without making sure all fields are filled in. It will give them a bubble when they try to save it but if they aren't paying attention and walk away then the data won't be saved. I am trying to dummy proof it as much as possible. Can I add a sound to a button? If so could someone tell me how? Thanks.

  2. #2
    scubagal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    21
    I downloaded a "Beep" to use as the error. Just to make clear what I am needing. If someone hits the save button I have in my form, and the form has any blank fields I want the button to give an audible alarm. If all fields are complete when saved is hit nothing should happen except data being saved. Is this possible?

  3. #3
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    http://www.techonthenet.com/access/q.../play_wav2.php

    Very simple to follow instructions on how to.

  5. #5
    scubagal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    21
    rpeare, thank you for your help. I want to do this but am so uptight about it. I do not understand what it is I am doing when it comes to VBA and coding. Is there any other sight I can use that can help me better understand what I am doing. That link you provided is specific to what someone needed but if I try to tailor it for me I will completely ruin what I've done so far. If you have taken me as far as you can I understand and say thank you immensely for all of your input.

  6. #6
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    You almost never find a piece of code that does exactly what you want it to. In the example I gave you the person wanted to perform the playing of a sound on a form loading. the code is identical to what you would perform in the ON CLICK event of any button. You just use the exact same code but put it in the ON CLICK event of your button instead of the ON LOAD event of your form.

  7. #7
    scubagal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    21
    I will give it a try and let you know how it goes. Thanks again for the help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Adding an Id to a table
    By Annita in forum Queries
    Replies: 5
    Last Post: 08-29-2011, 02:34 PM
  2. Adding new data
    By chiefmsb in forum Forms
    Replies: 1
    Last Post: 07-06-2011, 06:13 PM
  3. sound notifications
    By TheShabz in forum Access
    Replies: 7
    Last Post: 08-31-2010, 08:54 PM
  4. inserting .wav sound?
    By dada in forum Programming
    Replies: 2
    Last Post: 08-20-2010, 11:25 PM
  5. How to stop sound playing
    By trirat in forum Programming
    Replies: 0
    Last Post: 03-12-2006, 06:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums