AC5FF
Registered User.
- Local time
- Today, 08:04
- Joined
- Apr 6, 2004
- Messages
- 552
I apologize, I had another thread out a while back on this, but couldn't locate it today. 
I have a query that counts up the records in a table that pertain to my work areas. While the query runs fine w/out errors, the numbers it returns are completely wrong. I was able to take a sample of data and put it into a samble db to see if anyone out there can help ... (no emoticon for crossed fingers!)
There are three tables: Area, DyessD23, and LRU. (A lot of data has been stripped from these tables, but the required info to run the query is there).
Area: Tells me information about each team
DyessD23: Complete list of open work orders (documents)
LRU: Part information; what team repairs it, etc...
The two queries; Doc List and Work Status. Work Status is what counts up the documents and is what isn't working. The Doc List was built so I could manually count the documents myself. The Doc List query gives me 228 records from the DyessD23 table's 2390 records (5 of which shouldn't be counted). The Work Status query should return a total of 223 documents in the various columns, but instead it returns 501!
Can someone please look at this and tell me where I might be going wrong? I've tried different joins between the tables, but that doesn't work...
Thanks!!

I have a query that counts up the records in a table that pertain to my work areas. While the query runs fine w/out errors, the numbers it returns are completely wrong. I was able to take a sample of data and put it into a samble db to see if anyone out there can help ... (no emoticon for crossed fingers!)
There are three tables: Area, DyessD23, and LRU. (A lot of data has been stripped from these tables, but the required info to run the query is there).
Area: Tells me information about each team
DyessD23: Complete list of open work orders (documents)
LRU: Part information; what team repairs it, etc...
The two queries; Doc List and Work Status. Work Status is what counts up the documents and is what isn't working. The Doc List was built so I could manually count the documents myself. The Doc List query gives me 228 records from the DyessD23 table's 2390 records (5 of which shouldn't be counted). The Work Status query should return a total of 223 documents in the various columns, but instead it returns 501!
Can someone please look at this and tell me where I might be going wrong? I've tried different joins between the tables, but that doesn't work...
Thanks!!