All -
New here and I'm hoping you can help. I have an update query that puts tax rates into an invoice table based on a specific store number. The tax rates are held in a table based on a pass through query to our accounting system and has three fields - TaxID (which is the store number), TaxRate, and State. My invoice table has the weekly invoice information and the store number and I need to pull the tax rate for each record.
My update statement works for 80% of the records, but there are specific stores that will not pull information even though the store number visually matches in both tables. Things I've tried:
- Inserting trim/rtrim functions in all the make and pass through queries leading to this point
- Manually keying the store number in both tables (hoping to eliminate any non-printables that maybe a trim didn't fix)
- Troubleshooting with different input files (we get a new one from the vendor weekly). The same stores are the issue no matter which file
Any ideas on what to try next? Any help would be greatly appreciated.