I need to "combine" these records, because the duplicate entries are throwing off my totals. Two .5 hour entries rounded to an hour, produces two hours, when in reality it should be two .5 hour entries combined producing 1 hour. In addition, someone does manual data entry of these records into...
GROUP BY is in the above SQL View it says GROUP BY [EmployeeID],[InvoiceID], [ActivityDate]
My understanding of the SQL statement that you wrote is that it will combine the records for a view, but is not permanently updating the first recored with the information from the other "duplicate"...
yes you can have more than one employee but they would not be combined, only the records with the same employee, same invoiceID, and Date. Basically, we round up charges from a half hour to whole, so if you have two entries from the same employee on the same date and invoice number, we wind up...
what i have so far is at the top of the thread, lets say i have two rows that look like this
InvoiceID EmployeeID Date LeaseName Hours Comments
135655 733 5-10 Link Ranch 2.5 Bndry
135655 733 5-10 Link Rnch #1h 1 well
What I need is
135655...
I read up on SQL this weekend, and I realized that I mis-stated what I want to do. I need to combine, permanently the LeaseName, Hours, and Comments field in two or more records when the Invoice# and Date and EmployeeID are the same. The duplicate records are throwing my totals in my reports...
Every week I import timehsheets and they may have duplicate entries So I end up with something that looks like this
Empl InvoiceIDActivityDate LeaseName Hours
703 136067 5/22/2008 Link Ranch #1 1.5
703 136067 5/22/2008 Link Ranch Bndry 10
What I need to do is filter for...
thank you Ph, I understood everything except the & "'" at the end. What is the meaning of this? I am not really clear as to the meaning of the quotes and double quotes except that they distinguish between text and number in SQL and I have not found a really good resource on this yet, can you...
Hello all,
I have an invoice table and a "Time" table. In the time table there is a mileage charge field, and a hours charge field, I am trying to add those together and total for each invoice in the Invoice field and update a field in the Invoice table with that Information. I realize that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.