Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Only one of many child records print
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00215501
Message ID:
00215502
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform