Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameter to reports
Message
De
04/09/1998 00:04:23
 
 
À
14/06/1997 17:05:10
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00036150
Message ID:
00133107
Vues:
24
>> define a report variable
>> and initialize it before printing (USE the FRX and REPLACE it's value)
>> works for me :)
>>
>> Arnon
>
>I use another trick:
>- in "group by" I put "eval(gr1)", "eval(gr2)", "eval(gr3)"
>- in group headers/footers, there's "tx1+' '+eval(gr1)" etc.
>
>In the routine calling the report, I just set these three pairs of vars
>(gr1 contains the field name, tx1 its description), according to the
>user's choice of ordering. This way, by recombining the orderings, I get
>six reports (or more, if gr1..gr3 may be chosen from a list with more
>than three rows) with one .frx (twelve, if we consider summary or not),
>and yet add some filtering to it (ID range, date range and such) and it
>eliminates the need for lots of other reports. Yes, the report is bound
>to the routine, but the routine does work like a swiss army knife.

Dragan,

Just want to say I like your style of programming. You should write tips newsletter.

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform