Home » Developer & Programmer » Reports & Discoverer » Reseting Counter
Reseting Counter [message #121198] Thu, 26 May 2005 16:07 Go to next message
Prince
Messages: 32
Registered: December 2001
Member
For a report with the following sample query:

Select supervisor, emp_name
from employee;

There is a 1 to Many relationship for column supervisor. Now I want to be able to reset my counter on emp_name when the value for supervisor changes. How can I do this, any advise would be greatly appreciated.

Prince.
Re: Reseting Counter [message #121373 is a reply to message #121198] Fri, 27 May 2005 16:54 Go to previous message
danosw
Messages: 20
Registered: May 2005
Location: California
Junior Member
Based on your query... and I assume you dont want to repeat the supervise name.


------------
Groups:
G_1
col: supervisor
col: CS_1 : Function=Count, Source=emp_name, Reset At=G_1
G_2
col: emp_name

Layout:

R_1 : Source=G_1
field: F_SUPERVIOR
field: F_CS_1

-> R_2 : Source=G_2
field: F_EMP_NAME
-------------


I assume you want to count the number of employee for each supervisor. The key is setting two parameters in your Column_Summary 1) Source to emp_name and 2) Reset At to G_1.

I hope this is clear to everyone.

/forum/fa/187/0/
  • Attachment: 1.jpg
    (Size: 27.91KB, Downloaded 1178 times)

[Updated on: Fri, 27 May 2005 17:06]

Report message to a moderator

Previous Topic: Refining query results
Next Topic: 2 groups on 1 report on seperate pages
Goto Forum:
  


Current Time: Thu May 16 22:42:20 CDT 2024