I have to upload changes to our employees to our AP system (every employee is a vendor, for expense reimbursement). Currently we get 1 file with the entire population from our payroll system, whether or not something has changed on a particular record. So if we hire a new person, going from 500 employees to 501 (and nobody else's data changed) i have to upload 501 rows to our AP system.
I have to load it into an access DB to format it. I'd like to set up a query to compare the new upload to the previous one. From there, i only want to bring in rows from the new upload, where there is a difference from the old upload table. i added a column to both denoting "new" or "old".
I created a union query, but i'm hitting a wall as to where to go from there. is there some sort of way i can do the opposite of DISTINCT and return both rows that are different, and not the ones that match? then i can use only rows with the NEW distinction.
Any thoughts?
I have to load it into an access DB to format it. I'd like to set up a query to compare the new upload to the previous one. From there, i only want to bring in rows from the new upload, where there is a difference from the old upload table. i added a column to both denoting "new" or "old".
I created a union query, but i'm hitting a wall as to where to go from there. is there some sort of way i can do the opposite of DISTINCT and return both rows that are different, and not the ones that match? then i can use only rows with the NEW distinction.
Any thoughts?