Hi all,
i created a Hidox report and want to wrap a mutli line text after 80 chars. But Hidox deletes the "wrap option" after saving and compiling.
So, what can i do?:confused::confused:
Additional hidox ignores the "move to back" option, too. The barcode (which should be behind a line) destroys the line.
Thanks for support.
Attached the code to get the text into a string.
i created a Hidox report and want to wrap a mutli line text after 80 chars. But Hidox deletes the "wrap option" after saving and compiling.
So, what can i do?:confused::confused:
Additional hidox ignores the "move to back" option, too. The barcode (which should be behind a line) destroys the line.
Thanks for support.
Attached the code to get the text into a string.
Code:
#include <bic_text>
string sbuf(80,40)
long i
|* Fetch the text field
select tisfc001.txta
from tisfc001
where tisfc001._index1 = {:tisfc001.pdno}
selectdo
|* If not empty...
if tisfc001.txta <> 0 then
for i = 1 to text.to.buf("tisfc001.txta", language$, 40, sbuf)
stxt = strip$(stxt) & strip$(sbuf(1,i))
endfor
|*Here you can print the data and stxt will have complete text
|*Put stxt in your report input fields and add it to report layout
else
stxt = ""
endif
endselect