Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Age catagory in query
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00055318
Message ID:
00055341
Vues:
33
You can use the report designer. Define a group on the following expression:

INT( AGE(table.BirthDate) / 5)

Of course, you need to write the AGE function before.
Also, set the order on BirthDate.

You don't need a loop to do it. DIMENSION is only for array definitions. Please read the Help on it. You cannot print from an array.

Vlad

>I use a health care app. with vfp as a engine. I have a report to do that wants to count current members by
>age catagory by sex.
>age
><1
>1-4 years
>5-9 years
>10-14years
>
>etc
>etc
>in 5yr increments
>till 80
>then I use field such as demograph.date of birth member.lastname member.member #
>80+ years
>
>Can I do this with a loop or dimensions? Any help would be greatly appreciated.
>
>
>Joe McNamara vfp novice?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform