Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little weekend puzzle
Message
 
À
13/11/1998 17:02:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00157575
Message ID:
00158111
Vues:
14
Ken,

We did something similar by adding 2 memo fields to our report cursor. The first we filled with Children - listed each child with a CHR(13) after it. The second we filled with Pets the same way.

In the report we printed the 2 memo fields side by side, marked the stretch-with-overflow so the fields would show all data listed and let it print.

It's been working for over a year now with no problems.

HTH
Barbara

>Ok - riddle me this,
>
>How can I get a report to print with a parent record and multiple-table child records? For example, suppose my parent table is "Person" - a person can have children and/or pets. How can I get the report to print something like this.
>
>
  JOHN DOE
>CHILDREN        PET
>----------      ---------------------------
>Bobby           Fluffy
>Tommy           Spot
>Sue
>Ann
>
>JIM SMITH
>CHILDREN        PET
>----------      ---------------------------
>Sam             Fido
>                Flipper
>                Lassie
>
>Of course any given person may have any number of pets or children or none or some of both or either (wow- that was mouthful). I'm playing with various joins to see if I can come up with something the report writer can deal with. Any ideas?
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform