Email

Del_Piero_3

Registered User.
Local time
Today, 19:46
Joined
Jul 20, 2004
Messages
33
I need help big time, can someone plz help.

On a order form I want to send emails to everyone who works in that department. Basically when placing an order certain details are enter on the order form (see the attachment) including department, so when the send email button is clicked I want to send emails to everyone in that department.

Spare me bit of your time!!

Kind Regards.
 

Attachments

  • orderform.gif
    orderform.gif
    15.1 KB · Views: 175
Relationship diagram.
 

Attachments

  • relationship.gif
    relationship.gif
    11.1 KB · Views: 160
Look at the attached file.

hth,

Michael
 

Attachments

Ukraine82 said:
Look at the attached file.

hth,

Michael

Thanx, still having problem though. Its the SQL part where am really struggling. Cant get it right.
 
Are you talking the event procedure VB code? If so, be sure to overwrite the sample database with the name of your table and fields.

hth,

Michael
 
Ukraine82 said:
Are you talking the event procedure VB code? If so, be sure to overwrite the sample database with the name of your table and fields.

hth,

Michael

I've copied and pasted the code into my db, assigned it to click button procedure, changed the fields name etc, but the sql part is different, and I am beginner.
 
Post your database. Let me know what form you want me to place the vb code.

Michael
 
On my order form, it doesnt have email address's, so I need a sql (query) that finds every email address in the employees table that work in that department which is selected on the order form.
 
Ukraine82 said:
Post your database. Let me know what form you want me to place the vb code.

Michael

Can you please pm ur email addy, the databse is about 600kb
 
Add an extra field in your table that you made your Form from call it E-mail along with another field called SendTo have the Data Type set to yes/no.

Go to tblEmail in the attachment I sent you.

hth,

Michael
 

Users who are viewing this thread

Back
Top Bottom