Hackcess2007
Registered User.
- Local time
- Today, 13:21
- Joined
- Mar 8, 2014
- Messages
- 47
I have learned quite a bit from reading all your posts but I am having a problem I can't figure out. I made a database to track our equipment
in and out of our warehouse by date, barcode number, equipOutIn and crew chief. I made three qrys. the first is all transactions with criteria of the equipOutIn field "OUT'. The second qry is the same but set to "IN". The third qry i joined the first two qrys by barcode join properties equal. I added three columns in the qry, the first is Current Statics: IIf([OUTqry.TransactionDate]>[INqry.TransactionDate] Or [INqry.EquipOutIn] Is Null,"OUT","IN") The second is Return Date: IIf([Current Statics]="In",[INqry.TransactionDate],"") The third is Returned By: IIf([Current Statics]="In",[INqry.EmployeeFirstName],""). This will work great if i check one piece OUT and the IN. but the next time I check the same piece OUT and back IN is distorts and adds multiple entries. I have 2000 pieces of equipment so duplicate and unmatched qrys are not practical. My curiosity has outreached my smarts i'm afraid. Some fresh ideas will be much appreciated THANK YOU VERY MUCH.