I have 2 tables that I compare order number, item, qty, and finish codes everyday. Both tables are being extracted out of two separate systems. One table has both order number and line number as key fields, the other has no key field at all (and unfortunately cannot be changed due to system limitations) My problem is when comparing finish codes I may have the same order number, part, and qty listed twice in both tables with the only difference being the finish code (one may be sahara the other satin black). My report will show these lines as an exception (when it really isn't). For example Order 09080 Part SUS-414 QTY 4 Finish Code in Table1 SA Finish Code in Table2 SB, the next line will read Order 09080 Part SUS-414 QTY 4 Finish Code in Table1 SB Finish code in Table2 SA. I know it should be very simple to loop through the records in table1 until it finds it's match in table2 then continue looping until it finds a record that does not match in table2, but I do not have a clue how to accomplish this. Needless to say I am VBA illiterate (close enough anyway). If this is a duplicate post I apologize, but could someone please lend a hand. I have looked high and low trying to find an example that I could modify for my use - either I am not looking in the right place (highly possible) or am using the wrong keywords (also highly possible)
Any assistance would be greatly appreciated!!!
TIA, RLW (Brain dead on a Monday)
Any assistance would be greatly appreciated!!!
TIA, RLW (Brain dead on a Monday)