PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Need build a string with spaces between field to export a TXT Ascci Plane
Need build a string with spaces between field to export a TXT Ascci Plane
Iniciado por guest, 17,feb. 2016 22:14 - 2 respuestas
Publicado el 17,febrero 2016 - 22:14
Hello, i have several fields from an hyperfile and need arrange to put in a txt file.

I have

Invoice 8 Chars Description 50 Quantity 8 Subtotal 15 and total 15

I need put in a single row with spaces separated for export in a TXT Ascii plane but

Need in position 1 of the string Invoice
in 22 description and so on

Invoice (x spaces) Description (xspaces)

Astring="xxxxxxxx dddddddddd 1000 121.00 121000"

How can i handle the spaces between each field, for example adding x space to allow
start description in 22 position for example.

Thank you in advance
Publicado el 18,febrero 2016 - 01:22
Hi Manfred

use the complete() function to "size" each part

Best regards
Publicado el 18,febrero 2016 - 01:47
Amazing THX Fabrice