Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detail2 page prints even when there are no detail2 data
Message
From
07/06/2008 18:25:49
 
 
To
06/06/2008 10:00:25
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01321887
Message ID:
01322337
Views:
13
>>Hi All,
>>
>>I already asked for help in thread #1319611, but so far to no avail. So I ask again.
>>
>>On a report I must show detail1 data on a new page and detail2 data on a next page. I succeed in printing detail1 data on a new page and detail2 data on a next page, but a detail2/next page is even generated if there are no detail2 data to print. It gives an empty page (apart from a header/footer).
>>
>>For this case I have created a zipfile. It can be downloaded here: http://hyp.viafox.nl/ut/testcase_emptypages.zip
>>
>>I have tried all combinations I could think of. Nothing helps, or it creates another issue. Help is very much appreciated.
>
>Hi Peter,
>
>Have look at www.Report-Sculptor.com
>
>It gives you total control over report content writing.
>Read entire home page; in there you will see example (oop reporting) of combining form objects (containers) with script, which amounts to totally free OOP report composition.
>
>http://www.report-sculptor.com/#CombineScript

Hi Sergio,

Wow, that was impressive. I have read it all and will download it and try the demo first. The concept feels like a new paradigm to me. I cannot anymore remember the time I took control of the reporting loop using ?, ?? and the like. It even may be the case that I never did it. A new paradigm is often difficult for people to grasp.

The current paradigm (Report Designer) is: Prepare all data and then off you go with the REPORT FORM command. And sure, there is some control during the run, but that's minor only.

As I grasp it now, your paradigm is: Write a LOOP that contains code to get certain data and other code that creates the next part of the report.

A remarkable feature of your Report Sculpture is that we can use SCXs instead of the Report Designer. Those forms not only contain the layout of report sections, but also the logic to generate the contents. Wow, what a concept!
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform