Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/07/2006, 12:20
bitshoot
 
Fecha de Ingreso: noviembre-2004
Mensajes: 371
Antigüedad: 20 años, 5 meses
Puntos: 0
while dentro de envio de e-mail

hola a todos, queria saber si es posible hacer lo sig.

texto = "" _
&"<table width='90%' border='0' align='center' cellpadding='0' cellspacing='0'>"_
&" <tr>"_
&" <td width='19%'>Codigo Producto </td>"_
&" <td width='22%'> Nombre </td>"_
&" <td width='26%'> Descripcion </td>"_
&" <td width='33%'> Cantidad </td>"_
&" </tr>"_
while not rsDetalle.eof
&" <tr>"_
&" <td>"& rsDatos("codProducto") &"</td>"_
&" <td>"& rsDatos("nombreProd") &"</td>"_
&" <td>"& rsDatos("descripcionProd") &"</td>"_
&" <td>"& rsDatos("cantidad") &"</td>"_
&" </tr>"_
rsDetalle.movenext
wend

&"</table>"_

y si el resultado de esa consulta se incluira todo en el email que enviee.

de ante mano mxas graxie