PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 25 → WX - Relatorio no Windev Mobile
WX - Relatorio no Windev Mobile
Iniciado por adrianoboller, 27,may. 2015 16:24 - 1 respuesta
Miembro registrado
3.661 mensajes
Popularité : +175 (223 votes)
Publicado el 27,mayo 2015 - 16:24
Use FOR, WHILE pra ler os dados e depois faça isso

Relatorio is string = [
<html>
<head></head>
<body>
<h1>Relatorio da Nathalie</h1>
<br>
<h2>Debito: @valorDebito1@</h2>
<h2>Credito: @valorCredito1@</h2>
<h2>Debito: @valorDebito2@</h2>
<h2>Credito: @valorCredito2@</h2>
<h2>==================</h2>
<h2>Saldo: @valorSaldo@</h2>
</body>
</html>
]
Relatorio = Replace(relatorio,"@valorDebito1@",1000)
Relatorio = Replace(relatorio,"@valorCredito1@",1000)
Relatorio = Replace(relatorio,"@valorDebito2@",1000)
Relatorio = Replace(relatorio,"@valorCredito2@",1000)
Relatorio = Replace(relatorio,"@valorSaldo@",0)

ControleHtml..value = Relatorio

fsave("/mnt/sdcard/relatrorio.html",Relatorio)
Miembro registrado
3.661 mensajes
Popularité : +175 (223 votes)
Publicado el 27,mayo 2015 - 16:24
:merci: