baanfans
28th April 2004, 20:01
Hello all

I am trying to draw one line by report program in order to print this line in report (I need to use the program report instead layout) because when the page ends with layout with text field, the page breaks unproperly. I want to make the break by function page() and before, print the line by program in the event before.print using function spool.pr.line & spool.line(), but I cant print the line correctly :

field.dtxt:
before.print:
TEXT.HANDLING
if lattr.lineno = 56 then
spool.pr.line = cf$(0)&" ______________________"&cf$(0)
| Print the line...
spool.line()
page()
endif

But I want to print the bottom line of box with conectors included. How can I print that?

Best regards,:mad: :mad:

mark_h
28th April 2004, 23:35
Have you run it in debug mode? I am wondering if it is even making it to the spool.pr.line.

Mark