Hello, i have table in Access 2013 (Enquiry) to which i need to resolve an OEM against in another table. Some of the Enquiry data might already be in the correct format but other rows might not. I need some code that when i select a button on a form it automatically looks up the OEM to see if it is correct in OEM. If not then it sees it if exists in Interchange1 or Interchange2. If it does then it returns the OEM.
Please can anyone advise??
Please see examples below...
Kindest thanks,
Brian
Please can anyone advise??
Please see examples below...
Code:
Enquiry, QTY
-------
abc123, 10
zzz-abc456, 50
zzz-abc789, 40
abc-234, 22
abc345, 1
Code:
OEM, Interchange1, Interchange2
-------------------------
zzz-abc123, abc123, abc-123
zzz-abc234, abc234, abc-234
zzz-abc345, abc345, abc-345
zzz-abc456, abc456, abd-456
Code:
Output, QTY
------
zzz-abc123, 10
zzz-abc456, 50
zzz-abc789, 40
zzz-abc234, 22
zzz-abc345, 1
Kindest thanks,
Brian