Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#$&*@ Report Designer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
#$&*@ Report Designer
Miscellaneous
Thread ID:
00187082
Message ID:
00187082
Views:
47
The customer wants the band that prints their purchase order line items to always be the same height, irregardless of the number of line items.

They also want vertical separator lines that run through the line item "box" and connect the header and footer boxes.

Here's the approach I'm going to try. Any alternative suggestions are most welcome:
1. Define a report variable to count the number of line items.
2. Call a UDF in the detail band On Exit expression and pass the line count and another variable by reference.
3. In a text box in a footer below the detail band put a text box that streches. Bind it to the second parameter in step 2. Add vertical lines that strech to fill the footer band.
4. The UDF will load the second parameter with the number of carraige return characters required to pad the "detail" section to the constant height.

TIA.

Frustrated in LA,
----------
Mark Bucciarelli
Next
Reply
Map
View

Click here to load this message in the networking platform