473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Importing Data from Excel to Access

Hi to All!!

I need to inmport a Data from Excel to Access but the tables in Access are defined with a primary Key [ID] that is formated as an auto number (I'm using a template that I found on Internet!!) and it is giving me an error when i try to import it to my database, I can't. Also there are other fields on the table that are formatted to make a link to a list on the lookup properties than when i try to make the process, it deletes all the data on the field. Can you shed some light into this situation PLEASE!~!!!! thanks!!!!
Jan 5 '12 #1
3 1511
Mariostg
332 100+
Can you be more specific as to what error you are getting?
Assuming your import procedure does not try to force values in the primary key field, it should work fine. Linked lists may certainly be another source of problem. But again, more information is needed... Field types between source and destination table must also match.
Jan 5 '12 #2
Hi Mariostg, I formatted all columns and fields exactly the same as in the Acces tables, the problem is that the ID field is formatted as autonumber, I don't know if i should try to leave that field blank and let the database insert the correspondent number in there. All fields that I have a combo box frmatted on the lookup properties tab are giving me problems. Suggestions?
Jan 5 '12 #3
Mariostg
332 100+
Yep, the autonumber field, you have to let MS Access handle that.
Your combobox fields probably have more than one column, and likely only one is visible but that is not the problem. The problem is which of these columns is the "bound" one. Whatever data type/value is in that bound column must be in the source table.
Jan 5 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
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...
0
by: Michael Malafronte | last post by:
Whenever I try to either Link or Import a Sybase or Sql database table to Access, it freezes.
1
by: farseer | last post by:
Hi, i would like to write an app that will do the following: 1. download a csv file from an http url. fields are delimited by the "|" 2. i would like to import this into an access database...
1
by: Geoff Jones | last post by:
Hi I have a question which I hope somebody can answer. I have written a VB application with which I want to import an Excel file, analyze the data within it and do some calculations. There are...
2
by: jereviscious | last post by:
Hi all - Last resort time. I'm importing data from a spreadsheet that I receive from one of my vendor using interop.excel. The date field in excel is entered as 4/7/2006, but when I retrieve...
5
by: hharriel | last post by:
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...
2
by: ScardyBob | last post by:
Hello, I am having trouble importing data from an Excel Worksheet. When I try to import the data, everything works except certain columns that contain dates, where it replaces the date with a...
7
by: freeskier | last post by:
Hello, I am looking for some advice on collecting data. We are working on collecting about 20 different data points from 60 initial people, later to be expanded to approximately 200. At present we...
3
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...
4
by: colintis | last post by:
Before asking the question I've been digging a hole that is deep enough to bury myself in google....Most of the results are simply importing the excel file to table with the same table structure. ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.