bumbaermail
2nd August 2017, 12:45
Hello Experts,

I am facing a strange problem during print/display text. It is inserting a blank line between two consecutive lines in display or print. Please check the attached file for more details.

Please help me to resolve the issue.

srprks
2nd August 2017, 14:43
Hi you can use this piece of code..

field.tdpur400.txta: your text field
before.print:
validate.textline()


function void validate.textline()
{
if isspace(lattr.prline) then
lattr.print = false
else
if lattr.prline(1;1) = ">" then
lattr.prline = lattr.prline(2)
else
if lattr.prline(1;1) = "<" then
lattr.print = false
endif
endif
endif
}

bumbaermail
3rd August 2017, 10:55
Thank you very much. It is working fine.