Microsoft
Software
Hardware
Network
Question : copy query results into email body using vb and format like cut and paste
If I run an access query and just copy/paste the results into the body of an outlook email message, I get, what looks like, a table with a header of the query name and column headings. Any thoughts on doing that in VB? (I already have all the vb code to create emails and put stuff in the body (at least I can put text or html code there).
thanks
alan
Answer : copy query results into email body using vb and format like cut and paste
yes, you can use the html template idea.
have you tried this
docmd.SendObject acSendQuery,"QueryName",ac
formathtml
,"to email",,,"Subject","msgtex
t"
Random Solutions
Proxy server via Group Policy?
Excel 2003 Advanced Properties hidden
GPO to enable DEP and file & print sharing
Wsus WIndows 2003
Reporting Services Error
Get return value from ObjectDataSource
t-sql if statement containing two requirements doesn't work
Windows Explorer Sort Order persistently reversed
NTFS Permissions *Bulk Change*
Sum only positive values in ACCESS 2003 table