Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page length problem
Message
From
16/04/2002 06:09:35
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00645336
Message ID:
00645344
Views:
10
>Hi All
>
>I need to write a report where each page is really two pages. For a single record this is easy, I just run report1 with my single record and then report2 with the same record. The problem now is the user wants to print more than 1 record at a time, so if I have, say five records, I will get 5 pages of report1 and then 5 pages of report2, leaving it up to the user to collate them. Not a major problem until the user wants to print 500 records at a time. Is there an easy way I can merge these two reports?
>
>Many Thanks
>
>Derek

Hi Derek,
if I understand you have one record on one layout and the next record with other pagelayout.

Put your cursor in right order, give each record a mark if it is printed the one or the other way

In your frx do both layout use "print when" condition of all objects to determine to print the one or the other.
Both layouts must be on the same place in report
(How to say? I will start an example:

You will print field 'nMyField' bold only if field "lCond" is .T.
Create object on report, place it where it belongs, select print when condition enter "!lCond". Double this object, select the new object change style to bold, select print when condition change to "lCond". Place new object exactly over the old object.
)
If you prrint the report, it will display Value of nMyField bold or normal.

You can do this with the complete layout.

Check functionality og grouping objects together for better maintenance.

You also try to place layout in report bands and let detail band empty.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform