airforceone
Board Regular
- Joined
- Feb 14, 2022
- Messages
- 201
- Office Version
- 2019
- 2016
- Platform
- Windows
This is killing me!
I have A MS Access Program that works well (I think) importing, exporting and everything…
The problem is the new branch in charge of IT solution implemented a dynamic column/fields insertion per location. Now for argument sake, lets say it will stay that way (dynamic insertion of column/fields) and we cannot do anything about it.
My query is:
Can I preselect columns/fields Excel table prior to importing (I know there is none – except importing to temp Table is still the way AFAIK)
Can I import Excel table and dynamically create new column/fields in the TARGET TABLE (MS ACCESS) based on the Excel Table
Is it more efficient if I merge excel spreadsheet (4 Sheet in 3 workbook) before importing or should I import first to TEMP TABLE in MS Access then Merge before appending to Master Table
I have A MS Access Program that works well (I think) importing, exporting and everything…
The problem is the new branch in charge of IT solution implemented a dynamic column/fields insertion per location. Now for argument sake, lets say it will stay that way (dynamic insertion of column/fields) and we cannot do anything about it.
My query is:
Can I preselect columns/fields Excel table prior to importing (I know there is none – except importing to temp Table is still the way AFAIK)
Can I import Excel table and dynamically create new column/fields in the TARGET TABLE (MS ACCESS) based on the Excel Table
Is it more efficient if I merge excel spreadsheet (4 Sheet in 3 workbook) before importing or should I import first to TEMP TABLE in MS Access then Merge before appending to Master Table
Book1 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | MS Access (Target Table) | Excel (To Import) | |||||||||||||
2 | Bno | Name | Address | BSCode | Date Entered | Bno | Name | Address | BSCode | Date Entered | Exit Date | ESCode | |||
3 | A00001 | John | San Francisco | A00 | 2022.01.01 | A00001 | John | San Francisco | A00 | 2022.01.01 | 2022.02.01 | A00 | |||
4 | A00002 | Mike | Texas | A01 | 2022.02.01 | A00002 | Mike | Texas | A01 | 2022.02.01 | 2022.03.01 | A02 | |||
5 | A00003 | Russ | New York | A01 | 2022.02.01 | A00003 | Russ | New York | A01 | 2022.02.01 | 2022.03.01 | A02 | |||
6 | A00004 | Peter | Las Vegas | A02 | 2022.03.01 | A00004 | Peter | Las Vegas | A02 | 2022.03.01 | 2022.04.01 | A03 | |||
7 | A00005 | Meyer | Utah | A03 | 2022.04.01 | A00005 | Meyer | Utah | A03 | 2022.04.01 | 2022.05.01 | A04 | |||
8 | A00006 | Austine | Camarillo | A00 | 2022.01.01 | A00006 | Austine | Camarillo | A00 | 2022.01.01 | 2022.02.01 | A04 | |||
Sheet1 |