Hola a todos, saben como puedo agregar el resultado de un Datable , en un correo y enviarlo?
Solved
Datatable in Email
Best answer by MIKE 5870
Aaron.Gleason wrote:
You can loop through the table. Concatenate a string variable something like this:
String: Assign $sTable$ = “<table>”
Loop: Through Data Table $dtMyDataTable$; assign to $rRow$
String: Evaluate $sTable$ = "$sTable$<tr><td>$rRow[0]$</td><td>$rRow[1]$</td></tr>"
String: Evaluate $sTable$ = "$sTable$</table>"
The AA language doesn’t lend itself well to code snippets, but I hope this makes sense. It loops through the data table, adding another row for each in the data table. This example has only two columns, but you can add as many as you like.
For more on the format of tables, visit this W3 Schools page: https://www.w3schools.com/html/html_tables.asp
thanks a lot
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.