Identify Non-Complete

mosh

Registered User.
Local time
Today, 22:45
Joined
Aug 22, 2005
Messages
133
Hello All,

I have produced a database that looks at workflow reporting. I'm currently stuck on the following problem;

Say I have a import of accounts into the database that were Un-worked at the time. After some cleaning of duplicates, the data is then appended into a main table (example row below from main table);

tblMain

Work Item date created date end User
1 19/09/2008 31/12/9999 Mike

I then have in a query to look at which are outstanding. This is done by looking at the end_date. If it's #31/12/9999#, then it as unactioned. This works fine. But say I did an import today and the account was cleared, a new row is then created with the end_date inputted (i.e. 05/12/2008).

So when I run the query, I am getting more outstanding then I should. A solution i thought was where there is more than two work items the same, choose the one with the MIN date.

So the query determines if its cleared or not, but the problem is it also picks up ones which have now been completed.

Can someone point me in the right direction please?
________
Live Sex Webshows
 
Last edited:
Add another field (Yes/No or checkbox) in the table and completed cases update with a flag. Newly added cases will not have this flag set. Exclude the completed items from the Query by picking only the False cases.
 

Users who are viewing this thread

Back
Top Bottom