Hi,
I am hoping someone can help me with an issue I am having with excel
and ms access. I have collected data (which are in individual excel
files) from 49 different school districts. All districts have used the
same excel template and populated the same 32 data fields (columns). I
created one large excel file from all 49 files which gives me a master
table of 60,000 or so records. I have tried to import this master
table into access to run some queries and as I expected, access
imported some of the records but not all, creating an errors table for
me. I suspected that I needed to go and reformat each column in the
excel mater table, so that the formatting for each record was
identical. For example I made sure that all columns that needed to be
text were formatted as text (i.e., f name, l name.), etc. More
importantly, I have a unique student identifier, that is 10 digits long
that is assigned to each record and I made sure that this column was
formatted as text so that I can link it to another table of student
information that I already have. When importing the excel master table
into access, it does not import a significant amount of the student
id's, leaving that information within a particular record blank.
Access will import other field information for records, so it is not
rejecting the record altogether. I have also tried linking the table
instead of reporting and when linked for some records, access displays
"??NUMBER" in the cell, again an indication that access cannot
interpret that particular cell information. I have also tried saving
the master table as a .txt file and them importing, but still no
success.
I am convinced that this is do to all the different "output
formatting styles" from reporting districts when they generated their
files for me using their own student information systems. Does anyone
have any suggestions on have to reformat/clean the master table?? Or
any suggestion on how to perform an import without having such a high
percentage of my records rejected during the import process?
Thanks so much. 5 3063 hh******@gmail.com wrote:
Hi,
I am hoping someone can help me with an issue I am having with excel
and ms access. I have collected data (which are in individual excel
files) from 49 different school districts. All districts have used the
same excel template and populated the same 32 data fields (columns). I
created one large excel file from all 49 files which gives me a master
table of 60,000 or so records. I have tried to import this master
table into access to run some queries and as I expected, access
imported some of the records but not all, creating an errors table for
me. I suspected that I needed to go and reformat each column in the
excel mater table, so that the formatting for each record was
identical. For example I made sure that all columns that needed to be
text were formatted as text (i.e., f name, l name.), etc. More
importantly, I have a unique student identifier, that is 10 digits long
that is assigned to each record and I made sure that this column was
formatted as text so that I can link it to another table of student
information that I already have. When importing the excel master table
into access, it does not import a significant amount of the student
id's, leaving that information within a particular record blank.
Access will import other field information for records, so it is not
rejecting the record altogether. I have also tried linking the table
instead of reporting and when linked for some records, access displays
"??NUMBER" in the cell, again an indication that access cannot
interpret that particular cell information. I have also tried saving
the master table as a .txt file and them importing, but still no
success.
I am convinced that this is do to all the different "output
formatting styles" from reporting districts when they generated their
files for me using their own student information systems. Does anyone
have any suggestions on have to reformat/clean the master table?? Or
any suggestion on how to perform an import without having such a high
percentage of my records rejected during the import process?
Thanks so much.
Unsure. What happens if you save it to a .TXT file; comma, tab delimted
file, and then import? hh******@gmail.com wrote:
Hi,
I am hoping someone can help me with an issue I am having with excel
and ms access. I have collected data (which are in individual excel
files) from 49 different school districts. All districts have used the
same excel template and populated the same 32 data fields (columns). I
created one large excel file from all 49 files which gives me a master
table of 60,000 or so records. I have tried to import this master
table into access to run some queries and as I expected, access
imported some of the records but not all, creating an errors table for
me. I suspected that I needed to go and reformat each column in the
excel mater table, so that the formatting for each record was
identical. For example I made sure that all columns that needed to be
text were formatted as text (i.e., f name, l name.), etc. More
importantly, I have a unique student identifier, that is 10 digits long
that is assigned to each record and I made sure that this column was
formatted as text so that I can link it to another table of student
information that I already have. When importing the excel master table
into access, it does not import a significant amount of the student
id's, leaving that information within a particular record blank.
Access will import other field information for records, so it is not
rejecting the record altogether. I have also tried linking the table
instead of reporting and when linked for some records, access displays
"??NUMBER" in the cell, again an indication that access cannot
interpret that particular cell information. I have also tried saving
the master table as a .txt file and them importing, but still no
success.
I am convinced that this is do to all the different "output
formatting styles" from reporting districts when they generated their
files for me using their own student information systems. Does anyone
have any suggestions on have to reformat/clean the master table?? Or
any suggestion on how to perform an import without having such a high
percentage of my records rejected during the import process?
Thanks so much.
I also have had this problem before. I found that MSAccess looks at
the FIRST line of data in your excel to set the field types, so may
need to have a dummy record on the very first one so it sets the field
correctly in access.
Also I have been using the import and export features of
asap-utilities.com (its free) and it sure helps make it easier on
importing.
Later
Tex
what happens if you create an impor specification and then use it when
you run the import. Then Access doesn't guess what type the field is.
It just uses the type you told it to.
On 7 Sep 2006 05:17:34 -0700, "hh******@gmail.com" <hh******@gmail.comwrote:
>Hi, I am hoping someone can help me with an issue I am having with excel and ms access. I have collected data (which are in individual excel files) from 49 different school districts. All districts have used the same excel template and populated the same 32 data fields (columns). I created one large excel file from all 49 files which gives me a master table of 60,000 or so records. I have tried to import this master table into access to run some queries and as I expected, access imported some of the records but not all, creating an errors table for me. I suspected that I needed to go and reformat each column in the excel mater table, so that the formatting for each record was identical. For example I made sure that all columns that needed to be text were formatted as text (i.e., f name, l name.), etc. More importantly, I have a unique student identifier, that is 10 digits long that is assigned to each record and I made sure that this column was formatted as text so that I can link it to another table of student information that I already have. When importing the excel master table into access, it does not import a significant amount of the student id's, leaving that information within a particular record blank. Access will import other field information for records, so it is not rejecting the record altogether. I have also tried linking the table instead of reporting and when linked for some records, access displays "??NUMBER" in the cell, again an indication that access cannot interpret that particular cell information. I have also tried saving the master table as a .txt file and them importing, but still no success.
I am convinced that this is do to all the different "output formatting styles" from reporting districts when they generated their files for me using their own student information systems. Does anyone have any suggestions on have to reformat/clean the master table?? Or any suggestion on how to perform an import without having such a high percentage of my records rejected during the import process?
Thanks so much.
If you create a table in advance with enough fields, all of type text and 255 characters long, and
import by appending to this you can import almost anything and sort out the data types later.
If your data is already in Excel this should work quite easily.
thanks for the feedback. i will give all of your suggestions a try. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Grim Reaper |
last post by:
I am importing a .csv file into Access that has 37 fields. My problem is
that sometimes the last field only has data at the end of the column (it
looks like when you import a file into Access, for...
|
by: sparks |
last post by:
I have never done this and wanted to ask people who have what is the
best way.
One person said import it to excel, then import it into access table.
but since this will be done a lot, I am...
|
by: Darren |
last post by:
I have been attempting to create a reservation planning form in excel
that imports Data from an Access database and inserts that information
automaticly into the correct spreed sheet and the...
|
by: dixie |
last post by:
If I sent a user an empty database container - dB with no tables and I
needed them to import their tables into it and one of their tables was a
hidden table with the prefix Usys, is there any way...
|
by: nutthatch |
last post by:
I want to be able to import an Excel spreadsheet into Access 2K using
the macro command Transferspreadsheet.
However, the file I am importing (over which I have no control)
contains some records...
|
by: winzy |
last post by:
I have a table in Access which needs updating from an Excel file.
Instead of importing the whole Excel like a new table in Acess, how do
I do a partial import/update??
For example, Access table...
|
by: ltikusis |
last post by:
I am currently using the trial version of MapPoint 2006 and I am having problems mapping data from Access queries. When importing a query, MapPoint does not match any of the fields to the map. I've...
|
by: mukeshsrivastav |
last post by:
dear sir
i want to move form excel to access.
i have 5 excel file having same formats and fields.now i want to import all data in one access table.
importing one file is easy .but importing and...
|
by: aconti74 |
last post by:
Hello I am new to vba programming/coding. I am writing a program that
goes through a directory of text files and imports them into the
database. The problem is eventually the database gets to big...
|
by: Rina0 |
last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
| |