Solved

Importing data into an existing table

Posted on 2011-03-17
2
255 Views
Last Modified: 2012-05-11
I created a table in Access.
Now I am trying to import the same data (or close) into the table to refresh the data.  When I choose the file and then the table to import into, I get a "Subscript out of range" error.  This is on the last step just as it is getting ready to
0
Comment
Question by:tols12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
rbgCODE earned 250 total points
ID: 35162467
Subscript out of range usually means that you dont have the same amount of tables.  You have to think, if one of the fields is an auto incrementing ID then you dont need to import that in, it will auto increment on its own but without seeing any of the files or code not much more help I could offer you...

You could easily write a .net application that opens one db and just while not rs.eoof then loop through and add it, then you could even conversion-type the data for consistency.  
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 250 total points
ID: 35165028
Can you give us a bit more information about the table to be imported?
(Fields, Datatypes, ...etc)

Can you also tell us how you are doing the update?

Typically you get this error when importing Excel files when the number of fields do not match between the two tables
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question