OK, here's what I'm trying to do and can't figure out how. I've got a small
query that I'm setting to run automatically once a week. it pulls a couple
of numbers for me and stores each number in it's own memory variable. We'll
say the two memvars are mval1 and mval2. I want it to email me the results
of those memory variables. I have the query completed. I have the email
portion running but can't figure out how to get the memory variable value
into the email. All its doing is putting the memvar name into my email. My
email code is as follows and I would like to continue using this type of
emailing technique if possible:
oMSG = createobject("CDO.Message")
oMSG.To = me@mydomain.com
oMSG.From = "me@mydomain.com"
oMSG.Subject = " Weekly Numbers"
oMSG.HTMLBody = "This is the text for the body of the. the number of
visitors is &mval1 the number of those that made purchases is &mval2. "
oMSG.Send()
So, if anyone knows how to make the actual values display in place of &mval1
and &mval2 in my oMSG.HTMLBody line, that would be a great help.
Thanks!
Buster