thanks TT but the code you suggested only inserted the first record found to the e-mail
plus it put each field on a new line
I was looking to dosomething like this
E-mail message would be formatted something like this
Hello user this is your selection for your reference.
Field1, Field2, Field3, Field4, (from first row)
Field1, Field2, Field3, Field4, (from second row)
(Untill all rows are inserted)
if this not possible then I will just put a link into the e-mail message where the user can retieve his/her data in a web page, Not the best solution but that is easier than trying to put the rows in the e-mail.