PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 25 → WX - Relatorio no Windev Mobile
WX - Relatorio no Windev Mobile
Iniciado por adrianoboller, mai., 27 2015 4:24 PM - 1 resposta
Membro registado
3.657 mensagems
Popularité : +175 (223 votes)
Publicado em maio, 27 2015 - 4:24 PM
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)
Membro registado
3.657 mensagems
Popularité : +175 (223 votes)
Publicado em maio, 27 2015 - 4:24 PM
:merci: