Hello,
I am trying to create an active client list for the workers in my organization. I am having a very hard time due to how the data is stored in the database. I am using an ODBC connection and have included 2 tables in my report, linked as below:
A = active, W = waiting, T = terminated
Essentially every new status line
in the same department cancels out the status before it.
I want a client name to display on the report IF the most recent STATUS in a specific DEPARTMENT = 'A' (active).
So using the sample above, client 898 is currently active in 2 departments (FS and TX) and is currently terminated from the INT department.
I have tried a bazillion ways to select and/or filter the report and I still run into the same issue. If I am trying to show a list of clients currently active in the "FS" department, because the client had a status of A in the INT department at some point in the past they are still showing up on my list when I use a formula like:
({department}="FS" and {status}="A")
(It's like Crystal is ignoring the 'and' in all my fomulas)
However, I guess what I really need is something like:
(most recent {department="FS"}
and
{status}="A")
I hope this is clear and someone out there can help end my frustration!!
Thanks!
Edited by alzniagara - 19 Feb 2014 at 10:05am