General information
Category:
Reports & Report designer
>I am calling a REPORT FORM from within a regular DO FORM. The report is not using a query or temporary cursor, but the same tables as the form. If I set a breakpoint before the REPORT FORM, I can see the parent-child relationship, for instance, one parent record clearly related to two child records. I can do a browse on each table and see this is so. However, when the report runs, it will only print in the detail band only the first child record, not the succeeding ones at all. Everything seems to print out okay otherwise. Anyone have any ideas what I may be missing? Thanks.
If the report is running where the parent table is the driving force, with the child table secondary ( via set relation ), then it will only run one record corresponding to the parent table...
To fix this, you can issue a
SET SKIP TO (child table).
This will allow a scroll for every detail record even though the parent table is driving the report...
Another option would be to swap the relationship for the report and have the child table driving the output.
HTH
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only