Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I do this?
Message
 
To
30/09/2015 02:25:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01625190
Message ID:
01625229
Views:
41
>>I need to print 1 page per record on the dbf followed by a second page printed a number of times
>>
>>So for example record 1 has 5 recipients so I need to print 1 header and 5 recipients pages
>>
>>So for example record 2 has 10 recipients so I need to print 1 header and 10 recipients pages
>>
>>Is this possible with VFP report system? If not what should I do
>>
>
>
>As the other guys pointed out, you might accomplish this by smart combination of cursors and grouping. However if each group header
>has to be on separate page followed by recipient pages then you might hit the wall with FRX.
>
>It might be an overhead for this task If requirement is flexible, but if precise layout is a must, have look at
>www.report-sculptor.com
>There you can control 100% creation of each page, but you will have to rebuild report from scratch using form and form objects
>(form containers as report band canvases, and labels,textboxes etc. as report content) and then run it all as report from inside code.
>You do that by traversing through data (scan/endscan) and creating report as you go.
>Hence there is .eject() method which can directly flip new page of a report.
>
>See form report samples is RSDemo project (#07 and up) for more ideas.
>
>HTH
>Sergio

Sergio

Thanks I will give it a go

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform