Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group twice by different ways
Message
De
27/03/2003 05:32:30
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
27/03/2003 04:36:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00770122
Message ID:
00770661
Vues:
12
Hi Chaim,

I think I understand now what you're trying to do.

Instead of labels in the report, use fields and IIF() expressions, eg
IIF(QueryType=1, "Report By Year", "Report By Something Else"
or else you could use variables which you could set prior to running the report. eg
cReportTitle = "Report By Year"
Report Form SomeReport
where you would have a field in the title band containing a variable cReportTitle.

As for the data fields, you could leave them unchanged but you should address their names in the SQL statement.

Regards,

Liam



>I did four reports and I used with Case... as you said before my quastion.
>My quastion was how can I do it with ONE report (something like this in the code: case optgroup=1 cfilter1='aaa',cfilter2='bbb'..., and to change the report fields and field names to veriables - it's not problem to do it with one group level, my problem was with two levels especially with the report fields names).
>Eventually - I think that it's big problem.
>Chaim
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform