Run into a Wall (Jon K can you look again)
This is where I am on this so far.
I could not get a query to run based on parameters I chose on a form from unbound combo boxes. ie. send email (yes/no), State (list of states), etc.
Now the first task works. Jon K has got me this far.
But now, Using the Code he sent me, I have been working for 2 days and can't convert it to this next parameter query / form.
The whole ideas is that EmailExp1 should send and generic email to every one in the table marked email yes. The form allows you to select criteria for this email and then calls up Outlook express with the email addresses based on your query from the form info.
This part works great - see form EmailExp1 in the zip file
Now I need to also send personalized email ie "Greetings Bob" , "Greetings Tom" etc. in the top of the body of a generic message. So far, the code I have will do this, but with the same problem as before - I can't set the parameters of the query from the form, only if i manually change them in the query. The code is just (seemingly) all different from the 1st example. Nothing I try works.
I have all the components in place in the form EmailExp2.
If someone could have a look and see what I am doing wrong.
(Note: in EmailExp2, current struggle, I have not attached it with any reference to the form that selects the parameters. Everything I tried failed).
Thanks Mike
This is where I am on this so far.
I could not get a query to run based on parameters I chose on a form from unbound combo boxes. ie. send email (yes/no), State (list of states), etc.
Now the first task works. Jon K has got me this far.
But now, Using the Code he sent me, I have been working for 2 days and can't convert it to this next parameter query / form.
The whole ideas is that EmailExp1 should send and generic email to every one in the table marked email yes. The form allows you to select criteria for this email and then calls up Outlook express with the email addresses based on your query from the form info.
This part works great - see form EmailExp1 in the zip file
Now I need to also send personalized email ie "Greetings Bob" , "Greetings Tom" etc. in the top of the body of a generic message. So far, the code I have will do this, but with the same problem as before - I can't set the parameters of the query from the form, only if i manually change them in the query. The code is just (seemingly) all different from the 1st example. Nothing I try works.
I have all the components in place in the form EmailExp2.
If someone could have a look and see what I am doing wrong.
(Note: in EmailExp2, current struggle, I have not attached it with any reference to the form that selects the parameters. Everything I tried failed).
Thanks Mike
Attachments
Last edited: