Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report with 2 children
Message
De
08/05/1997 10:30:51
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
08/05/1997 10:25:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00031323
Message ID:
00031340
Vues:
45
>>>Matt,
>>>
>>>The only alternative to your approach within VFP that I have successfully implemented is to insert report objects whose expressions are UDF's in a wrapper program. The UDF's create the formatted child text (complete with CR-LF's) and you set the report objects to stretch.
>>
>>Unfortunately, I'm still on 3.0b :-(. Most of the user will be using Win3.11 for a while still...
>>
>>I've been waiting for report object.. Alas, I must still wait. :-(
>>
>
>Matt,
>
>I didn't mean OOP objects, I meant FRX objects. You can do this in 2.6 even. Place a report field in the detail band. Mark it to stretch and include as the expression ChldList(1). Add another below it for ChldList(2). Then create a function or PRG called ChldList that gets the numeric parameter and returns a formatted list of either child records for the current parent.
>
>Down-side is you must use fixed-width fonts for these objects to get any columns to line up.
>
>Randy

What a great idea! Why didn't I think of that?

Thanks, I'll give it a whirl.

Matt
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform