Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting indexes for a Grouped report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00164759
Message ID:
00164765
Vues:
28
>Hi all,
>
>I have a report that I created, but I didn't set an index tag for the field I want ordered in the grouping. Ex.
>
>Field 1 Field 2
>1 a
> b
>
>and so on...
>
>I tried SET ORDER TO TAG Field2 before I execute my report and did not get the results I wanted.
>
>Can I set a primary and secondary oder in hard code such as:
>
>SET ORDER TO TAG Field1,Field2 OF MyCDX
>
>or something similar???
>
>
>TIA

If I understood your question correctly, you want to order your report by field1+field2, and group by field2 within each field1.value. If it's true, then you should either have order tag on both fields together (field1+field2, if characters) or select records into cursor ordered by both fields.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform