Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Repeating ruled lines in report group footer
Message
From
25/10/2002 16:21:41
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00714950
Message ID:
00715635
Views:
15
Do you see any problems with making several groups on the same field
and put a few lines in each group footer with print when logic?
This way it would only see a few lines at a time and not think any one section is to large.


>You can't programmatically repeat the shapes drawn on the report. Your only option to use those would be to add a bunch of them and change the print when logic of each one to suppress it if it isn't needed. The drawback would be that the band would have to be defined very tall and when VFP checks to see if there is enough room left on the page, it doesn't take into account any of the print when logic. It only looks at ALL the possible objects and checks for that much room.
>
>
>>That is real close to what I need but I want to do that to lines I draw on the report rather than use '_' or '-' or '=' or '[ ]'
>>Any way to make drawn objects do that?
>>
>>
>>>Add one field object to the group footer that is only one line tall and marked as stretch with overflow. Make the expression something like this:
>>>
>>>REPLICATE(REPLICATE('_', 30) + CHR(13), )
>>>
>>>This will print 30 underlines and then go to the next line. You can use a report variable or something to count how many detail lines there are and apply a factor for the lines.
>>>
>>>Cathy
>>>
>>>
>>>
>>>>I have a report that needs to have some ruled lines repleated
>>>>at the end of a group footer based on the amount of room
>>>>available at the end of the report. If there is litte room then I want it to repeat more times to fill the next page.
>>>>
>>>>this is a proof ticket. The customer need to have enough lines
>>>>to indicate changes required. The more detail information the more lines
>>>>are required. At this point I have made a memo field that is loaded
>>>>base on this information. The problem is I have to use only the lower ascii characters because this goes to a dot matrix printer from windows.
>>>>Using CHR(196)+ does work.
>>>>
>>>>I can draw the line in the report but don't know how to get them to repeat
>>>>based on the amount of detail
>>>>
>>>>Any thoughts?
>>>>
>>>>thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform