Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement