Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grouping and sorting...
Message
De
25/07/2001 09:35:21
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
25/07/2001 09:28:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00534935
Message ID:
00534943
Vues:
11
>Sorry the formatting here is better for clarity
>
>I have a table I am running a report on that groups on the "header1" field.
>The table is not sorted at all.
>
>The data looks like:
>
>Header1 Header2
>***************
>Davanti Bottoni
>Davanti Asole
>Dietro Fianchetti
>Assierne Spale
>Assierne Orlo Fonder
>Davanit Orlo Fondo
>
>
>I was expecting that when I group the data would come out as:
>
>Davanti Bottoni
>        Asole
>        Orlo Fondo
>
>Dietro Fianchetti
>Assierne Spale
>         Orlo Fonder
>
>
>But it comes out as:
>
>Davanti Bottoni
>        Asole
>
>Dietro Fianchetti
>Assierne Spale
>         Orlo Fonder
>Davanti  Orlo Fondo
>
>What I do not understand is why it doesn't sort when it groups. How come
>the last field Davanti field does not come into the correct group?
>
>Shouldn't it?


HI,

Grouping the data in the report won't change the order that the records will appear. (Unlike when you use a GROUP BY in a SQL SELECT).

You will need to order your data before you run the report.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform