Hi,
I am going to give it to you step by step it's really easy for a basic email
from your form. Please follow carefully.
1. Create a new Macro
2. In the Action column select SendObject from the drop down menu
3. After you select SendObject the bottom portion of the Macro opens and
give you criteria for your email. Don't worry about the first three choices
unless you are sending a specific report, form, spreadsheet etc on a constant
bases like daily or weekly. If you have a specific email address that you are
send to only you can place it in the To field and it will always prefill when
you open the email. Just follow the fields listed and use what you want. BE
SURE TO SET THE EDIT MESSAGE FIELD TO YES if you leave it as No, after click
the button the email will be sent without you seeing it. After you have done
all this save the macro and name it.
4. Go to your Form and open it in Design View.
5. Create a new Command Button and when the wizrd menu opens just click
Cancel.
6. Right click on the button and scroll fown to the properties and click.
7. You can now name the button something other than the default which is
Command something and called it Send Email or something
8. Scroll down to the On Click Event and click on it to open the drop down
menu.
9. When the menu opens, you should now see the Macro you created. Select it
and close the properties box and close the form and when it ask you to save
say Yes.
10. Now open the form again and click on the command button you just
created. Give it a second or two and an email should open. Enter the email
address, subject, message and click send and your done. REMEMBER TO MAKE SURE
YOUR EDIT MESSAGE FILED IN THE MACRO IS SET TO YES!
You should not have any problems at all. There are many ways to sned emails
from Access. This is the simplest most basic. Using VBA Code, you can create
more elaborate ways of send emails but I would wait until you get a little
more familar with Access.
Good Luck!!
If all you want to do is send an email, create a Macro. From the drop down
list select SendObject then go to the bottom and enter whatever criteria you
want. Save the Macro and name it. Go to your form and create a command
button. Open the button to it's properties and go to the Click Event. On the
drop down select the Macro you just created and close the properties table
and save. You should now be able to click the command button on your form and
a blank email should pop up.