BvCF
MIS
- Nov 11, 2006
- 92
Hopefully, someone can provide insight on this problem.
I have a Excel Spreadsheet with approximately 50,000 records that have "old" (previously used 2 years ago) reason codes in a column titled "Reason Code." This spreadsheet was a document that was created several years ago and since then, there are "new" reason codes that are within a local Access table. In other words, a end-user reviews a particular record and then selects a reason code using a combo box.
I need to import the excel spreadsheet into the main Access table and replace the "old" reason codes with the "new" reason codes.
My immediate response was that the Excel spreadsheet should be updated (using search and replace within Excel) with the "new" reason codes upon cross mapping the "new" and "old" reason codes in another worksheet, etc.
Is there a way to implement a "global" search and replace feature in Microsoft Access to replace the 50,000 old reason codes?
It appears that I have to do the following;
- Construct a table within Access that "crossmaps" the "old" reason codes with the "new" codes
- Import the excel worksheet into a temp table
- Add a column
- use an update query to populate the blank column with the
"new" reason code
Any additional insight as to a preferred method would be sincerely appreciated.
Thanks in advance.
I have a Excel Spreadsheet with approximately 50,000 records that have "old" (previously used 2 years ago) reason codes in a column titled "Reason Code." This spreadsheet was a document that was created several years ago and since then, there are "new" reason codes that are within a local Access table. In other words, a end-user reviews a particular record and then selects a reason code using a combo box.
I need to import the excel spreadsheet into the main Access table and replace the "old" reason codes with the "new" reason codes.
My immediate response was that the Excel spreadsheet should be updated (using search and replace within Excel) with the "new" reason codes upon cross mapping the "new" and "old" reason codes in another worksheet, etc.
Is there a way to implement a "global" search and replace feature in Microsoft Access to replace the 50,000 old reason codes?
It appears that I have to do the following;
- Construct a table within Access that "crossmaps" the "old" reason codes with the "new" codes
- Import the excel worksheet into a temp table
- Add a column
- use an update query to populate the blank column with the
"new" reason code
Any additional insight as to a preferred method would be sincerely appreciated.
Thanks in advance.