newestrichard
Technical User
a simple one this i know but my ability with crystal and Basic is somewhat, ahem, limited...
i've tried using the "Count" funtion in a "running total" (and fiddled around with resets but no luck as it counts as it sees the data in the database, i think)
if i use a simple formula...
Whileprintingrecords;
numbervar x;
if{field.NAME}={field.NAME}then
x:=x+1
it will count but obviously won't reset on a new group. how do i reset? this must be really obvious but if i heard anything back i'd be delighted.
(i've got 3 groups and am supressing the detail so i'm showing group footer 3 as each line in my report and i'd like a simple count, i'm using crystal 9 linked to an Access database)
i've tried using the "Count" funtion in a "running total" (and fiddled around with resets but no luck as it counts as it sees the data in the database, i think)
if i use a simple formula...
Whileprintingrecords;
numbervar x;
if{field.NAME}={field.NAME}then
x:=x+1
it will count but obviously won't reset on a new group. how do i reset? this must be really obvious but if i heard anything back i'd be delighted.
(i've got 3 groups and am supressing the detail so i'm showing group footer 3 as each line in my report and i'd like a simple count, i'm using crystal 9 linked to an Access database)