I have a problem with a query I am trying to run in Access. I am trying to link two different tables by their ZIP codes. Table1 has 5-digit ZIP codes (in other words, they display like this – 05938), and Table2 has numerically formatted ZIP codes (in other words, 05938 displays as 5938). Both are listed as Text Data Type.
When I try to query using these two fields, anything in Table2 with a ZIP code that is not 5 digits is not querying. In the final query, the results only show ZIP codes over 10000 because 5938 does not query with 05938.
Does anyone know of a way to expand the 00001-09999 ZIP’s in Table2 so that I can query them against Table1? I was thinking maybe if there was an expression that I could do to convert the ZIP’s to five-digits, I could insert that. Then I could create a MakeTable query that would push the information to a new table, and I could query Table 1 off of the new table. Does that make sense?
Thank you so much in advance for your help.