Hello,
I am looking for help on how to use code to match certain items in two tables. But I need to track which item matches the item in the other table.
For example I have TableOne that has fields; TableOne_ID(AutoNumber), Item(txt), and TableTwo_ID(Integer).
TableTwo has TableTwo_ID(AutoNumber), Item(txt), and TableOne_ID(integer).
If I populate TableOne.Item just using a letter: lets say I have two records with A, three records with B, and one record with C.
Then in TableTwo.Item I have three records with A, four records with B, and no C's.
If the code starts with TableOne and gets the first A, then goes over to TableTwo --- when it finds the first A there, I need to place the ID from TableOne in TableTwo and also put the ID from TableTwo over in TableOne. etc.
In the end, I need to now which items matched, what their IDs are and the balance of which ones in TableOne could not find a match in TableTwo and vice versa.
Thanks for the assist.
I am looking for help on how to use code to match certain items in two tables. But I need to track which item matches the item in the other table.
For example I have TableOne that has fields; TableOne_ID(AutoNumber), Item(txt), and TableTwo_ID(Integer).
TableTwo has TableTwo_ID(AutoNumber), Item(txt), and TableOne_ID(integer).
If I populate TableOne.Item just using a letter: lets say I have two records with A, three records with B, and one record with C.
Then in TableTwo.Item I have three records with A, four records with B, and no C's.
If the code starts with TableOne and gets the first A, then goes over to TableTwo --- when it finds the first A there, I need to place the ID from TableOne in TableTwo and also put the ID from TableTwo over in TableOne. etc.
In the end, I need to now which items matched, what their IDs are and the balance of which ones in TableOne could not find a match in TableTwo and vice versa.
Thanks for the assist.