Printing problems

Hello, I have started to create some print forms. I have a typical setup of data and related data and want to print data showing all related data. I have come across several problems:

  1. When printing from the related data form, I wanted to have a subsummary by data with a page break for each data record. When you do this, always the same records from related data are shown while the data part behaves as expected.

  2. Since that didn’t work I tried printing from the data form using a portal to display related data. This works better, but there is some sliding issues:

  • when you have a field in a header that is set to grow or shrink, the header will indeed grow if necessary but it will keep that size for all pages, no matter if it has to grow on another page or not.

  • when placing a rectangular object on the form, that object will move up or down as wanted but it will not honor growing objects from above. It will just move up on top of an object that has grown

I have made some screenshots that hopefully explain the issues (see following)

Screenshot “form_setup” and “result” demonstrate problem one: the data table has records like “Product A”, “Product B” and so on. The related data table has records like “Order A1” (for Product A) and so on. The subsummary is sorted by the foreign key (dataid). All the products are displayed correctly (including page breaks), but the actual records are wrong. In “result” you should see “Order A1”… and not orders from Product C. Even worse, thos two orders “Order C1”… show on every page no matter what product is printed.

Problem 2 can hopefully understood by the following screenshots:

  • the first screen shot shows how the field with multiline text grows correctly.
  • the seconds screen shot shows how the next try is setup (with a rectangular)
  • the third screen shot shows that the field grows correctly but the rectangular and everything below it does not move down.

Is there a warning in the status compaining about overlap in printing?
Did you allow the object to move?

I saw no warnings - will check again. The object is allowed to move, yes.