Print register - any ideas?

The first picture is what the register looks like in the existing program (4D). Because I can print a line at a time, I have control over each row, and can print the fields as well as the vertical separator lines. I can also print blank rows below the last record.

The second picture is what it looks like when printed from Servoy. The lines don’t print along with the data, and it’s blank below the last record, all the way down to the footer.

The third picture is the design so far in Servoy.

Is there a reasonable way to do this in Servoy?

Thank you,
Don

Hi Don,

only an idea, but perhaps the Gantt module could help?

Regards,

I did something similar using Jasper Reports (i.e. designing in iReports). A little tricky in parts due to the variable number of lines etc but doable. Have you looked at that alternative?

HI Thomas,

That Gantt module is really sharp! It’s only for Smart Client, though, and the users are going to be on the web.

Thank you for showing me that,
Don

Hi Tom,

I tried Jasper Reports on another form, but haven’t come up to snuff yet on how to use it. I got very discouraged with iReports’ control of the placement and copy/paste of objects; at least on Mac, it doesn’t behave very well. I installed a Jasper eclipse plug-in, but haven’t tried using it yet.

I figured out how to get the lines to appear properly using Servoy’s printing functionality (with labels, please see attached).

Is there an event that fires for each row? I need to do some calculations and show/hide gray boxes. So far I haven’t figured out what event to use. I’m going to try posting a separate message to see if anyone knows.

Thank you,
Don

Try using Table view - this will draw the vertical lines when needed.

Hi,

I’m using List view (locked). What is the difference between that and Table view or Table view (locked)?

I am able to get the vertical lines to print by using labels that have a border on one side. It’s inelegant, but it seems to work. Alternating thin/thick horizontal lines (with each row) are a bigger problem. One user suggested using css, but I don’t yet know enough to do that.

Thank you,
Don

I do not know exactly the difference between list view and table view in the version you are using, but I have used tableview in reports like yours and worked fine,