To send the email in code, I use the CDO object, which you can google more about, or check out this web page:
Somewhere in the process of writing to your CDO email object, you run into "Textbody", and it is at that point you want to write your record values out to string variables, and then you use the string variables to concantenate your text body like so:
Set rsSomeData as New ADODB.recordset
rsSomeData.open, "sometable", currentproject.connection, etc
with rsSomeData
do
CustName=!CustName
CustAddr=!CustAddr
CustCity=!CustCity
CustSales=!Custsales
cdoObject.Textbody=cdoObject.Textbody&" "&CustAddr&" "&CustCity&" "&str$(CustSales)&vbcrlf
.movenext
loop until .eof
End with
The vbcrlf constant pushes the cursor to a newline in the textbody, so you want to make sure you add it whereever you want a record to end. If you need it in nice neat table format, you will have to pad your data with spaces or you will need to go to much more complex code that writes the table out to the clipboard and then to the .Textbody