|
WX - Relatorio no Windev Mobile |
Iniciado por Boller, mai., 27 2015 4:24 PM - 1 resposta |
| |
| | | |
|
| |
Membro registado 4.520 mensagems |
|
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 4.520 mensagems |
|
Publicado em maio, 27 2015 - 4:24 PM |
| |
| |
| | | |
|
| | | | |
| | |
|