PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 24 → WX - Relatorio no Windev Mobile
WX - Relatorio no Windev Mobile
Débuté par adrianoboller, 27 mai 2015 16:24 - 1 réponse
Membre enregistré
2 969 messages
Popularité : +89 (91 votes)
Posté le 27 mai 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)
Membre enregistré
2 969 messages
Popularité : +89 (91 votes)
Posté le 27 mai 2015 - 16:24
:merci: