Printing notes results in "overwritten" lines
Aldevinas Katkus
2-1-23
Operating system: Windows
I have a ONE string of 190 chars (there are no spaces in that string, it is a comma separated list) in the note and it does not wrap correctly when printed: it lines are printed one over another if I print it via Operations>>create email or first wrapped line is hidden behind the second line if printed to the standard Windows PDF printer, such as Microsoft PDF printer.

Investigation with hal shows, that the line is somehow magically splitted into more lines, as LineTextCnt(Noter) returns 3 instead of 1.

to make it work I tried
tstr = GetTextField(Noter);

OUTFORMFIELD("F_NOTE",tstr);
but this cuts the text, does not print everything either.

Is this a bug?

Carolina Valentino
2-6-23
thanks .. Aldevinas for your question. i ll check it with a pm and back to you
Carolina Valentino
2-6-23
thanks .. Aldevinas for your question. i ll check it with a pm and back to you
Carolina Valentino
2-6-23
this i got from programer

if there is no hidden characters you must report the bug.
I can provide workaround for it but bug should be reported

rwcnt = LineTextCnt(Noter);
for (i=0;i
tstr = tstr & LineTextGet(Noter,i);
end;
OUTFORMFIELD("F_NOTE",tstr);

this should be workaround for it but I want to know if its bug or not

thanks
Aldevinas Katkus
2-6-23
I have reported a bug Forms>>printing note results in overwritten text
Carolina Valentino
2-21-23
thanks
Carolina Valentino
2-21-23
thanks
Carolina Valentino
2-21-23
Adelvinas, could you add a Demodata on the bug?
Aldevinas Katkus
2-21-23
Demodata is attached.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Afternoon, Some of our customers haven't changed their passwords for a while but they're not getting any password expiry message. If I copy their Standard ID into a new user on some test ...
17:22 25 Apr 2024
Andis Blicāns, Grasko
Hi, We have client using 8.5 2021-09-26 (build 85400383). The fields "Max Web Users" and "Max Sessions" ar blank. Server is closing itself almost every day. Message in hansa....
13:09 25 Apr 2024