General information
Category:
Coding, syntax & commands
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?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only