Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report with 2 children
Message
From
08/05/1997 10:30:51
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
08/05/1997 10:25:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00031323
Message ID:
00031340
Views:
47
>>>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...
Previous
Reply
Map
View

Click here to load this message in the networking platform