Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The many faces of ... Multi layout report
Message
De
19/01/2007 05:56:46
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
19/01/2007 05:35:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01186878
Message ID:
01186883
Vues:
24
Hi Glenn,

if the layout is totally different then I would use a solution simsilar to yours. If there are only small differnences I would consider reports reports print when clause.

Agnes
>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
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform