G
Guest
Thank you in advance,
I need to send the results of an Access query into an Outlook email body
with grids. I was able to parse the results of the query using the followin
-------------------------------------------------------------------------------------------
Set MyQuery = dt.OpenRecordset("qry_SALES_MAIL_OREGON MED WA", dbOpenDynaset)
Do While Not MyQuery.EOF
myResult = myResult & Trim(Left(MyQuery.Fields("Customer_Name").Value,
20)) & _
Space(20) & Format(MyQuery.Fields("Pending").Value, "currency") & _
Space(20) & Format(MyQuery.Fields("IN Process").Value, "currency") & _
Space(20) & Format(MyQuery.Fields("Posted").Value, "Currency") & _
Space(20) & Format(MyQuery.Fields("Total Sales Opportunity").Value,
"Currency") & vbNewLine
MyQuery.MoveNext
Loo
-------------------------------------------------------------------------------------------
Is there a way to have this information displayed with grids like of a table
grid?
I have set the email (.BodyFormat = olFormatHTML) in Access
Thank you
I need to send the results of an Access query into an Outlook email body
with grids. I was able to parse the results of the query using the followin
-------------------------------------------------------------------------------------------
Set MyQuery = dt.OpenRecordset("qry_SALES_MAIL_OREGON MED WA", dbOpenDynaset)
Do While Not MyQuery.EOF
myResult = myResult & Trim(Left(MyQuery.Fields("Customer_Name").Value,
20)) & _
Space(20) & Format(MyQuery.Fields("Pending").Value, "currency") & _
Space(20) & Format(MyQuery.Fields("IN Process").Value, "currency") & _
Space(20) & Format(MyQuery.Fields("Posted").Value, "Currency") & _
Space(20) & Format(MyQuery.Fields("Total Sales Opportunity").Value,
"Currency") & vbNewLine
MyQuery.MoveNext
Loo
-------------------------------------------------------------------------------------------
Is there a way to have this information displayed with grids like of a table
grid?
I have set the email (.BodyFormat = olFormatHTML) in Access
Thank you