I have a daily report I will need to import into Access from a csv file. The report has around 650 columns, of which I will (initially) require around 60.
My first though was to create a an import spec. and call it as needed. I was under the impression that I could just specify which columns to import and, as I need way under the 255 limit, that would work.
What I've found, however, is that when I try to set up the import specification it looks like I'm only able to choose from the first 255 columns, not from the whole sheet.
1. If I want, let's say, columns 1 - 10, 75, 150 and 400 is this possible?
2. If I can't do this using the above method, my next idea was to
a) Import the first batch of 100 columns into a temporary table.
b) Copy columns I need into a 'final' table
c) Delete the temp table
d) Import the next batch of 100 into a temp table.
e) Update the records I copied across in step b
f) repeat steps c to e for the whole csv file
I'm a little concerned about the update sections. What would be the safest way to ensure that I'm updating the correct records?
My first though was to create a an import spec. and call it as needed. I was under the impression that I could just specify which columns to import and, as I need way under the 255 limit, that would work.
What I've found, however, is that when I try to set up the import specification it looks like I'm only able to choose from the first 255 columns, not from the whole sheet.
1. If I want, let's say, columns 1 - 10, 75, 150 and 400 is this possible?
2. If I can't do this using the above method, my next idea was to
a) Import the first batch of 100 columns into a temporary table.
b) Copy columns I need into a 'final' table
c) Delete the temp table
d) Import the next batch of 100 into a temp table.
e) Update the records I copied across in step b
f) repeat steps c to e for the whole csv file
I'm a little concerned about the update sections. What would be the safest way to ensure that I'm updating the correct records?