Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The many faces of ... Multi layout report
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01186878
Message ID:
01186895
Views:
16
Every Detail band has its own Header and footer. I saw somewhere (unfortunately I can't remember where) that if you use listener you could have different page layout in one report. Maybe it was Cathy Pountney's articles on Microsoft site, but I am not sure at all.


>Thanks Borislav,
>
>This approach sounds promising, but I may require multiple header and footer bands as well. Although these may be easier to implement than the entire report.
>
>There may be Invoice forms, Customs forms, Bills of lading, delivery instructions...
>
>Glenn
>
>
>>>I need to produce a report which will print totally different layouts based upon a data element in the cursor which is driving the report. I need to do this becase this is an application where the user expects to just go over to the printer and pull off a set of documents in order and use them without any further sorting or merging. We will need to produce something like merged sets of different documents in one run.
>>>
>>>My first idea is to create a loop which will act like this:
>>>
>>>scan
>>>  do case
>>>  case valueofreportcriteria = 1
>>>     report form type1 next 1 to print noeject
>>>  case valueofreportcriteria = 2
>>>     report form type2 next 1 to print noeject
>>>  case valueofreportcriteria = 3
>>>     report form type3 next 1 to print noeject
>>>  case valueofreportcriteria = 4
>>>     report form type4 next 1 to print noeject
>>>  endcase
>>>endscan
>>>report form endreport to print
>>>
>>>
>>>Clumsy to say the least. Any better ideas?
>>>
>>>Glenn
>>
>>Can't you do that with multi Detail Band report and printing appropriate Detail Band based on your criteria?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform