This seems so easy and yet I am stumped with where to start. Two tables:
Table 1 is a list of part numbers in this format 123-456-789
Table 2 is a list of part number prefixes that identify what the part number family is.
Example: part number 123-456-789 is a "widget" because in Table 2 is the field 123 and it's record is "widget".
So, how do I query Table 1 so that it draws in the LIKE fields from Table 2 based on the matching prefix NOT the whole part number?
Query output would look like this:
Table 1....................Table 2.....................Table 2
PartNumber.............. Prefix.......................Prefix Description
123-456-789............123..........................Widget
I tried to go the other way and query Table 2 but I could not get the expression to do a LIKE on Table 1 by matching just the first three characters.
Any suggestions would be appreciated. TIA.
Table 1 is a list of part numbers in this format 123-456-789
Table 2 is a list of part number prefixes that identify what the part number family is.
Example: part number 123-456-789 is a "widget" because in Table 2 is the field 123 and it's record is "widget".
So, how do I query Table 1 so that it draws in the LIKE fields from Table 2 based on the matching prefix NOT the whole part number?
Query output would look like this:
Table 1....................Table 2.....................Table 2
PartNumber.............. Prefix.......................Prefix Description
123-456-789............123..........................Widget
I tried to go the other way and query Table 2 but I could not get the expression to do a LIKE on Table 1 by matching just the first three characters.
