I split the code into 2 functions as below. I am not sure how to call the first part in the second part. Oh, and BodyText is actually a string. Thanks for your help.
Function ReportOutlookBody()
Dim db As DAO.Database
Dim rst As DAO.Recordset
Set db = CurrentDb
Dim BodyText...